Hadoop is not able to find JAVA_HOME properly
- by Shekhar
I am trying to run hadoop my Ubuntu OS. I have set JAVA_HOME variable in ~/.bashrc file to /usr/lib/jvm/jdk1.7.0_01/ but when I run hadoop namenode -format command it fails with following errors :
shekhar@ubuntu:/usr$ hadoop namenode -format
Warning: $HADOOP_HOME is deprecated.
/host/Shekhar/Softwares/hadoop-1.0.0/bin/hadoop: line 321:…