操作格式化步骤的时候报错,如何解决
[admin@bogon bin]$ hadoop namenode -format
Warning: $HADOOP_HOME is deprecated.
/opt/hadoop-1.2.1/bin/hadoop:行350: /usr/loacal/java/jdk1.8.0_102/bin/java: 没有那个文件或目录
/opt/hadoop-1.2.1/bin/hadoop:行434: /usr/loacal/java/jdk1.8.0_102/bin/java: 没有那个文件或目录