hadoop installation in linux
Hello..
I tried to install hadoop 0.20.1 and hadoop plugin for eclipse(necessary for my project)in linux to form an distributed environment. I downloaded hadoop 0.20.1.tar.gz and when i tried to execute the jar file in it using the command java -jar hadoop 0.20.1.tar.gz I encountered the error "Failed to load the main class Manifest from the jar file" And when I tried to run the start-all.sh file in bin folder there is an error that "JAVA_HOME is not set" Could any one help me to proceed..thanks in advance |
You need to set the JAVA_HOME environmental variable:
Code:
export JAVA_HOME=/path/to/java ---------- Post added 01-30-13 at 10:17 AM ---------- Also, you can test to see if the variable is set with this command: Code:
echo $JAVA_HOME |
Thank you for the Reply...
As per your guidence we have set the JAVA_HOME. But when we tried to run start-all.sh it ask for a password and after giving the password the same error occurs "JAVA_HOME not set" which has been set earlier. How to resolve this |
Quote:
Code:
echo $JAVA_HOME |
On excecuting the command echo $JAVA_HOME
we get /usr/lib/jvm/jre-1.6.0(this is the path of the JAVA_HOME I had set) |
In eclipse Map/Reduce Location when we give "new hadoop location" this will ask for two port number.What port number should be given there? What ever port we give its not connecting.
|
All times are GMT -5. The time now is 02:39 PM. |