Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I try to install hive and hadoop on my ubuntu.but if i type this command :

hive --service hiveserver

errors return like this:

/home/babak/Downloads/hadoop/bin/hadoop: Zeile 258: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden
/home/babak/Downloads/hadoop/bin/hadoop: Zeile 289: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden
Unable to determine Hadoop version information.
'hadoop version' returned:
/home/babak/Downloads/hadoop/bin/hadoop: Zeile 258: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden
/home/babak/Downloads/hadoop/bin/hadoop: Zeile 289: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden

how can i solve my problem? and where is it?

share|improve this question
    
Have you tried: hadoop version –  Mitch Jun 3 '12 at 12:06
    
I tested it but the same error:/home/babak/Downloads/hadoop/bin/hadoop: Zeile 258: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden /home/babak/Downloads/hadoop/bin/hadoop: Zeile 289: /usr/lib/java-6-sun-1.6.0.26/bin/java: Datei oder Verzeichnis nicht gefunden It's german and that means file or folder not found –  iav-babak Jun 3 '12 at 12:38
    
Have you setup HADOOP_HOME and JAVA_HOME ? Whats the OS your on ? Looks like your java path is not right. –  user1435470 Nov 9 '12 at 1:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.