hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen, Ronald L." <allen...@ornl.gov>
Subject /home/r9r/hadoop-2.2.0/bin/hadoop: line 133: /usr/java/default/bin/java: No such file or directory
Date Wed, 08 Jan 2014 20:12:42 GMT
Hello again,

I'm trying to install Hadoop 2.2.0 on Redhat 2.6.32-358.23.2.el6.x86_64.  I have untar-ed
hadoop-2.2.0.tar.gz and set my path variables as below.

export HADOOP_INSTALL=/home/r9r
export HADOOP_MAPRED_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_HOME=$HADOOP_INSTALL
export HADOOP_HDFS_HOME=$HADOOP_INSTALL
export YARN_HOME=$HADOOP_INSTALL
export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_INSTALL/lib/native
export HADOOP_OPTS="-Djava.library.path"=$HADOOP_INSTALL/lib

export JAVA_HOME=/usr/lib/jvm/java-1.7.0/jre/

When I type hadoop version, I get the following:

/home/r9r/hadoop-2.2.0/bin/hadoop: line 133: /usr/java/default/bin/java: No such file or directory
/home/r9r/hadoop-2.2.0/bin/hadoop: line 133: exec: /usr/java/default/bin/java: cannot execute:
No such file or directory

I've checked and rechecked my JAVA_HOME.  I feel like it is correct.  I've checked hadoop-env.sh
and it is set to export JAVA_HOME=${JAVA_HOME}

I am stuck and do not know what to try from here.  Does anyone have any ideas?

Thanks!
Ronnie
Mime
View raw message