我已经配置了 hadoop(多节点设置)。现在在开始hadoop之前我想为此格式化namenode我运行以下命令-->>
hadoop namenode -format
它给出了一个错误-->
/home/sandip/project/hadoop-1.1.2/bin/hadoop: line 320: /usr/lib/jvm/java-6-openjdk-
i386/jre/bin/java/bin/java: Not a directory
/home/sandip/project/hadoop-1.1.2/bin/hadoop: line 390: /usr/lib/jvm/java-6-openjdk-
i386/jre/bin/java/bin/java: Not a directory
/home/sandip/project/hadoop-1.1.2/bin/hadoop: line 390: exec: /usr/lib/jvm/java-6-openjdk-
i386/jre/bin/java/bin/java: cannot execute: Not a directory
请告诉我我应该如何解决它?