hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vikas <pvssvi...@gmail.com>
Subject Re: can't find java home
Date Wed, 26 Aug 2009 06:40:32 GMT
can you run "dos2unix /home/HadoopAdmin/hadoop-0.18.3/bin/../conf/*.sh" and
then try again.

Thanks,
-Vikas.

On Wed, Aug 26, 2009 at 11:56 AM, Puri, Aseem <Aseem.Puri@honeywell.com>wrote:

> 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