Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Error running hadoop command

avatar
New Contributor

cdhVersion: CDH 5.0.02

os: centos 6

 

h00003:/usr/java # hadoop version
/usr/bin/hadoop: line 15: /usr/bin/../lib/bigtop-utils/bigtop-detect-javahome: No such file or directory
/usr/bin/hadoop: line 19: /usr/bin/../lib/hadoop/bin/hadoop: No such file or directory
/usr/bin/hadoop: line 19: exec: /usr/bin/../lib/hadoop/bin/hadoop: cannot execute: No such file or directory
h00003:/usr/java # echo $JAVA_HOME
/usr/java/default
h00003:/usr/java # ll
total 8
lrwxrwxrwx 1 root root 16 Jul 2 11:09 default -> /usr/java/latest
drwxr-xr-x 9 root root 4096 Jul 2 11:09 jdk1.6.0_31
drwxr-xr-x 8 root root 4096 Jul 2 11:09 jdk1.7.0_45-cloudera
lrwxrwxrwx 1 root root 31 Jul 2 17:46 latest -> /usr/java/jdk1.7.0_45-cloudera/

 

 

would anyone can help me? thank you

Who agreed with this topic