Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # dev >> Help setting up hadoop


Copy link to this message
-
Re: Help setting up hadoop
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)
<[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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)
>> <[EMAIL PROTECTED]> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB