C:\Users\nilotpal.datta>hdfs namenode -format
Error: JAVA_HOME is incorrectly set.
Please update C:\hadoop-2.8.0\etc\hadoop\hadoop-env.cmd
'-Dhadoop.security.logger' is not recognized as an internal or external command,
operable program or batch file.
I have attached below my screenshot of environment variables
Variables from Hadoop:
答案 0 :(得分:0)
在C:\ hadoop-2.8.0 \ etc \ hadoop \ hadoop-env.cmd设置中,
set JAVA_HOME=your full java path
然后再次格式化namenode