Which version of the bigtop-utils package do you have installed? It used to be that bigtop-detect-javahome was installed in different directories on different systems, and other packages in those releases looked in all those locations. If you bigtop-utils installed from an old version, you may need to update it to a new version to make sure it's installed in /usr/lib/bigtop-utils/ where the new Hadoop packages are looking for it..
On Wed, Apr 8, 2015 at 9:07 AM, Bob Metelsky <[email protected]> wrote: > I suppose I can comment it out and manually set the JAVA_HOME in each... > Ill try that for now. If someone can send me the file that would be good as > well > > Just a fyi that the file does not seem to be included in the 8 build > > > On Wed, Apr 8, 2015 at 11:06 AM, Bob Metelsky <[email protected]> > wrote: > >> Guys, I removed hadoop alpha from bt repo 6 via yum >> >> I cleanly installed hadoop replacing repo 6 with repo 8 >> >> yum remove/install hadoop\* flume\* zookeeper\* oozie\* sqoop\* hbase\* >> hive\* hue\* >> >> I now have hadoop 2.4.1 >> >> Problem is in my services hadoop-* there is a reference to >> /usr/lib/bigtop-utils/bigtop-detect-javahome >> >> which is not on my system >> >> getting these errors... >> >> /etc/init.d/hadoop-hdfs-datanode: line 40: >> /usr/lib/bigtop-utils/bigtop-detect-javahome: No such file or directory >> starting datanode, logging to >> /var/log/hadoop-hdfs/hadoop-hdfs-datanode-nn111.rack1.lab.out >> Failed to start Hadoop datanode. Return value: 1 [FAILED] >> /etc/init.d/hadoop-hdfs-journalnode: line 40: >> /usr/lib/bigtop-utils/bigtop-detect-javahome: No such file or directory >> Error: JAVA_HOME is not set and could not be found. >> Failed to start Hadoop journalnode. Return value: 3 [FAILED] >> /etc/init.d/hadoop-hdfs-namenode: line 40: >> /usr/lib/bigtop-utils/bigtop-detect-javahome: No such file or directory >> starting namenode, logging to >> /var/log/hadoop-hdfs/hadoop-hdfs-namenode-nn111.rack1.lab.out >> Failed to start Hadoop namenode. Return value: 1 [FAILED] >> >> can someone send me this file? >> >> >> >> >> >> >
