hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Puri, Aseem" <Aseem.P...@Honeywell.com>
Subject can't find java home
Date Wed, 26 Aug 2009 06:26:33 GMT
Hi

 

I am facing an issue while starting my hadoop cluster.

 

When I run the command:

 

$ bin/hadoop namenode -format

 

I found this exception:

 

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 2:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 7:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 10:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 13:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 16:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 19:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 29:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 32:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 35:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 38:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 41:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 46:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 49:
$'\r': command not found

/home/HadoopAdmin/hadoop-0.18.3/bin/../conf/hadoop-env.sh: line 52:
$'\r': command not found

/bin/java: No such file or directorymin/java/jdk1.6.0_13

/bin/java: No such file or directorymin/java/jdk1.6.0_13

/bin/java: cannot execute: No such file or directorydk1.6.0_13

 

Also in "home/HadoopAdmin/hadoop-0.18.3/bin/conf/hadoop-env.sh"I set my
java home as where I have installed java as:

 

export JAVA_HOME=/home/HadoopAdmin/java/jdk1.6.0_13

 

Please help me on this issue.

 

Regards

Aseem Puri

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message