HDFS启动执行命令提示:DEPRECATED: Use of this script to execute hdfs command
格式化完Hadoop,全部启动完成。输入 hdfs dfs -ls /
提示:
# hadoop dfs -ls /
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
Java HotSpot(TM) Client VM warning: You have loaded library /opt/src/hadoop/lib/native/libhadoop.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
16/03/29 07:05:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
-ls: java.net.UnknownHostException: mycluster
Usage: hadoop fs -ls [-d] [-h] [-R] [<path> ...]
hadoop fs -ls /
或则
hdfs dfs -ls /
更多:
Hadoop Shell命令字典(可收藏)
http://www.aboutyun.com/forum.php?mod=viewthread&tid=6983
starrycheng 发表于 2016-3-29 15:56
hadoop fs -ls /
或则
hdfs dfs -ls /
好像还是不可以的
神豪。 发表于 2016-3-29 16:08
好像还是不可以的
那就是安装问题了
页:
[1]