hadoop error coming when starting hadoop

2013-12-06T02:34:59

Hi i can't resolve my problem when running hadoop with 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

path:

rochdi@127:~$ echo "$PATH"
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/hadoop/bin:/usr/local/hadoop/lib

before coming error i change hostname file as:

127.0.0.1 localhost
127.0.1.1 ubuntu.local ubuntu

and i configured my bashrc file as

export HADOOP_PREFIX=/usr/local/hadoop

export PATH=$PATH:$HADOOP_PREFIX/bin

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

and jps command

  rochdi@127:~$ jps
     3427 Jps

help me please

Copyright License:
Author:「Rochdi Dadci」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/20407914/hadoop-error-coming-when-starting-hadoop

About “hadoop error coming when starting hadoop” questions

Hi i can't resolve my problem when running hadoop with start-all.sh rochdi@127:~$ start-all.sh /usr/local/hadoop/bin/hadoop-daemon.sh: line 62: [: localhost: integer expression expected ...
I'm using Hadoop Accelerator on Hadoop v1.1.2, I did the configuration that is given in the hadoop readme file. While starting the cluster using start-all.sh, the jobtracker is not coming up. It ...
I'm trying to run Hadoop 2.7.1 on Centos 7. When I'm invoking script start-dfs.sh, I'm getting following error: localhost: starting datanode, logging to /usr/bin/hadoop/logs/hadoop-hadoop-
chown: changing ownership of `/usr/local/hadoop/libexec/../logs': Operation not permitted starting namenode, logging to /usr/local/hadoop/libexec/../logs/hadoop-hadoop-namenode-ayush-PC.out /usr/l...
I am trying to install hadoop on windows7.i have installed cygwin, when i do ./start-dfs.sh i am getting the following error: Error: Could not find or load main class org.apache.hadoop.hdfs.tools.
I am new to hadoop and trying to configure hadoop in pseudodistributed mode and when I try to start the daemons by the following command bin/start-all.sh and I get the following message star...
I have installed and configured Hbase-0.94.14 with hadoop-2.2.0. I'm getting following error while starting HBase. Error: Could not find or load main class org.apache.hadoop.util.PlatformName I ...
Curently, I have installed Hadoop in my Ubuntu system. And I started it. Here are the details: krish@krish-VirtualBox:~$ start-dfs.sh 14/10/20 13:16:16 WARN util.NativeCodeLoader: Unable to load n...
I'm setting up a single Hadoop node, but when running $HADOOP_HOME/sbin/start-dfs.sh it prints that it cannot find $HADOOP_HOME/bin/hdfs. The file at that location exists though, and I can read it
j just want to install hadoop single node mode in ubuntu i formatted hdfs succesfully but when i start the job with start-all.sh I am getting error message as rochdi@127:~$ start-all.sh /usr/l...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.