I am trying to configure hadoop on ubuntu but when executing the command bin/hadoop namenode -format it shows the following message
DEPRECATED: Use of this script to execute hdfs command is deprecated. Instead use the hdfs command for it,
/home/sonali/hadoop-2.2.0/bin/hdfs: line 201: /usr/lib/jvm/java-6-openjdk-i386/bin/java: No such file or directory