07-02-2014 03:02 AM
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
h00003:/usr/java # ll
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
07-02-2014 07:51 AM
07-02-2014 10:35 PM
thanks for your quickly reply.
Yes,I am using Cloudera Manager and parcels
I deployed 5 nodes. 2 of the 5 works fine. but the other 3 can't work(h00003 h00004 h00005).
In the h00001, I use which command to find hadoop. it provide alternatives to the correct file.
but in the h00003, it did't provide alternatives to the right file, just put the file in the /usr/bin.
And I'am sure these files I had never created before or copied.