Install Hadoop 2.6.0 on Ubuntu 14

22 views
Skip to first unread message

spsan...@gmail.com

unread,
Jun 15, 2015, 2:08:22 PM6/15/15
to hadoop-learner-tutori...@googlegroups.com
I am trying to install Hadoop 2.6.0 on Ubuntu 14. I have download the file hadoop-2.6.0.tar.gz  from apache and followed the steps to unpacking it. I have java version 1.8 as seen below by the output of the command java -version in my terminal

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

I follow the path below:
cd /usr/lib/jvm

and type cd java* which brings up the following path:
/usr/lib/jvm/java-1.6.0-openjdk-amd64

Which seems odd since I have 1.8.0_45 installed ad that is the version that comes up. With this information I pasted the output of pwd into the .bashrc file and then restarted my terminal. When typing Hadoop -version I get the following output:
/usr/bin/hadoop: line 350: /usr/lib/jvm/java-6-sun/bin/java: No such file or directory
/usr/bin/hadoop: line 434: /usr/lib/jvm/java-6-sun/bin/java: No such file or directory

I do not know where to go from here.

Thank you,
hadoop version error.png
pwd output.png
Reply all
Reply to author
Forward
0 new messages