21:54
本人安装的hadoop版本是0.21.0的,但每次执行命令时都会显示下面的信息
[hadoop@master hadoop]$ hadoop dfs -ls
DEPRECATED: Use of this script. to execute hdfs command is deprecated.
Instead use the hdfs command for it.
原来从此版本以后,hadoop 命令换成了hdfs命令,上面的命令如同下面的命令:
[hadoop@master hadoop]$ hdfs dfs -ls // 这时就没有错误了
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28254374/viewspace-746581/ ,如需转载,请注明出处,否则将追究法律责任。