当我在hadoop开始工作时出错

时间:2013-12-04 22:05:35

标签: bash ubuntu hadoop

j只是想在ubuntu中安装hadoop单节点模式我成功地格式化了hdfs但是当我用start-all.sh启动作业时我收到错误消息

 rochdi@127:~$ start-all.sh

/usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected

starting namenode, logging to /usr/local/hadoop/libexec/../logs/hadoop-rochdi-namenode-127.0.0.1

localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected

localhost: starting datanode, logging to /usr/local/hadoop/libexec/../logs/hadoop-rochdi-datanode-127.0.0.1

localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected

localhost: starting secondarynamenode, logging to /usr/local/hadoop/libexec/../logs/hadoop-rochdi-secondarynamenode-127.0.0.1

/usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected

starting jobtracker, logging to /usr/local/hadoop/libexec/../logs/hadoop-rochdi-jobtracker-127.0.0.1

localhost: /usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected

localhost: starting tasktracker, logging to /usr/local/hadoop/libexec/../logs/hadoop-rochdi-tasktracker-127.0.0.1

localhost: Erreur : impossible de trouver ou charger la classe principale localhost

这是我的bashrc配置文件

export HADOOP_PREFIX=/usr/local/hadoop

export PATH=$PATH:$HADOOP_PREFIX/bin

export JAVA_HOME=/usr/lib/jvm/java-7-oracle

当我使用jps命令时:

> rochdi@127:~$ jps
3427 Jps
请帮助我

0 个答案:

没有答案