hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Help setting up hadoop
Date Tue, 10 Apr 2012 14:17:43 GMT
That is an incorrect JAVA_HOME. You should not be pointing it to the
java executable, but rather the root directory:

export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_27

On Tue, Apr 10, 2012 at 7:45 PM, SRIKANTH KOMMINENI (RIT Student)
<sxk7699@rit.edu> wrote:
> Hello
>
> My JAVA_HOME is set up to point to /usr/lib/jvm/jdk1.6.0_27/bin/java
>
> I did set it in conf/hadoop-env.sh to point to this particular file.
>
> it still is trying to point at another java path.
>
> On Tue, Apr 10, 2012 at 1:09 AM, Harsh J <harsh@cloudera.com> wrote:
>>
>> Srikanth,
>>
>> Before you run "start-all.sh", what does "echo $JAVA_HOME" print?
>>
>> You can also set JAVA_HOME in your conf/hadoop-env.sh to point to the
>> right Java home directory on your machine. For example, the Oracle JRE
>> RPMs would install to /usr/java/default.
>>
>> On Tue, Apr 10, 2012 at 8:40 AM, SRIKANTH KOMMINENI (RIT Student)
>> <sxk7699@rit.edu> wrote:
>> > Hello,
>> >
>> > This is the following error that I get when I am trying to start hadoop
>> > using start-all.sh
>> >
>> > starting namenode, logging to
>> > /var/log/hadoop/root/hadoop-root-namenode-zombie.out
>> > /usr/libexec/../bin/hadoop: line 321: /usr/lib/jvm/java-6-sun/bin/java:
>> > No
>> > such file or directory
>> > /usr/libexec/../bin/hadoop: line 387: /usr/lib/jvm/java-6-sun/bin/java:
>> > No
>> > such file or directory
>> >
>> >
>> > --
>> > Srikanth Kommineni,
>> > Graduate Assistant,
>> > Dept of Computer Science,
>> > Rochester Institute of Technology.
>>
>>
>>
>> --
>> Harsh J
>
>
>
>
> --
> Srikanth Kommineni,
> Graduate Assistant,
> Dept of Computer Science,
> Rochester Institute of Technology.
>



-- 
Harsh J

Mime
View raw message