格式化报错
root@ubuntu:/opt/hadoop-1.2.1/bin# hadoop namenode -format
Warning: $HADOOP_HOME is deprecated.
Error: Config file not found: /usr/lib/jvm/java-9-openjdk-amd64/conf/management/management.properties
root@ubuntu:/opt/hadoop-1.2.1/bin# hadoop namenode -format
Warning: $HADOOP_HOME is deprecated.
Error: Config file not found: /usr/lib/jvm/java-9-openjdk-amd64/conf/management/management.properties
2017-05-19
软链接不存在的问题,我已经解决了。
cd /usr/lib/jvm/java-9-openjdk-amd64
ln -s lib conf
就可以了。参考文章:https://phantomvk.github.io/2016/10/09/Hadoop_build/
但他那个多了touch,我是这样的。
举报