Hello,
I'm currently running CDH 4.6 in a CM5 managed cluster. Running CentOs 6.2
I want to switch to Java 7.
1-I installed the java package
2-changed the /usr/java/latest link to point to the jdk1.7 path
(/usr/java/jdk1.7.0_45-cloudera in my case). /usr/java/default points to
latest so invoking "java -version" returns 1.7.0_45
3-Shut down all the cluster services
4-Restarted the agents on all nodes
5-Agent log now says : [15/Apr/2014 12:57:57 +0000] 27848
Monitor-HostMonitor throttling_logger INFO Using java location:
'/usr/java/jdk1.7.0_45-cloudera/bin/java'.
But for some reasons, the service still start using the 1.6 binary.
ps -elf | grep hdfs
hdfs 28274 27881 23 80 0 - 435551 futex_ 12:58 ? 00:03:15
/usr/java/*jdk1.6.0_31*/bin/java -Dproc_namenode -Xmx1000m
-Dhdfs.audit.logger=INFO,RFAAUDIT -Dsecurity.audit.logger=INFO,RFAS
-Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop-hdfs[...]
What am I missing? Does it have to do with the trailing "-cloudera" in the
Java path? I installed it from the cloudera-manager repo...
Thanks
Phil
To unsubscribe from this group and stop receiving emails from it, send an email to scm-users+unsubscribe@cloudera.org.