Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

CDH 6.2 java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.

CDH 6.2 java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.

Explorer

We are finally working on moving from CDH 4.3 to CDH 6.2 and as such we have built a new test environment and are testing some of our workflows that used MR1 before.   The just get killed and in our logs we see the following.   My understand is that HADOOP_HOME is no longer need, but below says otherwise.  The hadoop environment sits on OEL7 (not windows). Can someone lend us a helping and hand some what might be needed.  I can post back logs and such.  Thanks

 

java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.
at org.apache.hadoop.util.Shell.checkHadoopHomeInner(Shell.java:469)
at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:440)
at org.apache.hadoop.util.Shell.<clinit>(Shell.java:517)
at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78)
at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1651)
at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:66)
at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:80)
at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:94)
at com.rightnow.actioncapture.cruncher.CruncherHbaseResources$.<init>(CruncherHbaseResources.scala:10)
at com.rightnow.actioncapture.cruncher.CruncherHbaseResources$.<clinit>(CruncherHbaseResources.scala)
at com.rightnow.actioncapture.cruncher.tools.FindLatestFile$$anonfun$main$1.apply(FindLatestFile.scala:30)
at com.rightnow.actioncapture.cruncher.tools.FindLatestFile$$anonfun$main$1.apply(FindLatestFile.scala:29)
at scala.Option.foreach(Option.scala:257)
at com.rightnow.actioncapture.cruncher.tools.FindLatestFile$.main(FindLatestFile.scala:29)
at com.rightnow.actioncapture.cruncher.tools.FindLatestFile.main(FindLatestFile.scala)

Don't have an account?
Coming from Hortonworks? Activate your account here