hadoop namenode-格式已弃用:

bihw5rsg  于 2021-06-01  发布在  Hadoop
关注(0)|答案(1)|浏览(411)
kavi@ubuntu:~/hadoop-2.2.0/bin$ ./hadoop namenode -format
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.

/home/kavi/hadoop-2.2.0/bin/hdfs: line 201: /usr/lib/jvm/java-6-openjdk-i386/bin/java: No such file or directory
kavi@ubuntu:~/hadoop-2.2.0/

这是显示的错误…我需要做的。。。请指导我完成这个过程

idv4meu8

idv4meu81#

使用替代hadoop namenode的未预先声明的命令:hdfs namenode。有关更多信息,请参阅《hdfs命令指南》。

相关问题