|
|
-
Re: Help setting up hadoop
Harsh J 2012-04-10, 14:17
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
+
Harsh J 2012-04-10, 14:17
SRIKANTH KOMMINENI 2012-04-10, 03:10
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.
+
SRIKANTH KOMMINENI 2012-04-10, 03:10
-
Re: Help setting up hadoop
Harsh J 2012-04-10, 05:09
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
+
Harsh J 2012-04-10, 05:09
-
RE: Help setting up hadoop
Uma Maheswara Rao G 2012-04-10, 05:02
Can you check what is the JAVA_HOME it displays, when you echo on the same console? Also try setting JAVA_HOME in hadoop-env.sh. This should unblock your work.
-Uma ________________________________________ From: [EMAIL PROTECTED] [[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2012 8:40 AM To: [EMAIL PROTECTED] Subject: Help setting up hadoop
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.
+
Uma Maheswara Rao G 2012-04-10, 05:02
|
|