jdk1.6 - Hortonworks Ambari cannot start data node - Cannot find Java VM / JVM library file -


i've added new datanode hortonworks cluster (machines running rhel7), must have missed when installed java jdk 1.8 on it. node's roles installed datanode, metrics monitor , node manager show stopped in ambari manager. whenever run 'datanode start' fails following message:

==> /var/log/hadoop/hdfs/jsvc.out <== ==> /var/log/hadoop/hdfs/jsvc.err <== cannot find vm in java home /usr/java/jdk1.8.0_77 cannot locate jvm library file 

output when running java -version (logged in root):

java version "1.8.0_77" java(tm) se runtime environment (build 1.8.0_77-b03) java hotspot(tm) server vm (build 25.77-b03, mixed mode) 

i figure must along lines of exporting java_home or setting path, in way looks inside jdk's bin folder. can't make work though. maybe because i'm exporting root's bash profile, instead whichever account ambari uses run datanode start? ideas?

turned out ambari doesn't automatically 'see' changes make jdk (if me have been messing it). solve recommissioned datanode, , restarted it. worked right away.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -