为什么我的hadoop无法理解-chmod命令?

我正在尝试通过以下链接将配置单元安装到我的本地系统:https://www.dezyre.com/hadoop-tutorial/install-hive;但是,当我尝试执行命令hadoop dfs –chmod 765 /user/hive/warehouse时,它说该脚本的使用已被弃用,建议使用hdfs命令。但是hdfs命令(hdfs dfs –chmod 765 /user/hive/warehouse)也不起作用。有人知道为什么会这样吗?

我还尝试使用fs而不是dfs执行命令。但是我收到了hadoop的–chmod: Unknown command错误消息和hdfs的Error: Could not find or load main class fs Caused by: java.lang.ClassnotFoundException: fs错误消息。

这是我尝试执行hadoop dfs –chmod 765 /user/hive/warehouse时的确切错误消息:

DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

–chmod: Unknown command
casillas00 回答:为什么我的hadoop无法理解-chmod命令?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3125707.html

大家都在问