Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
HADOOP_HOME is not set in hadoop-env.sh
export HADOOP_HOME=${HADOOP_HOME:-/usr/lib/hadoop}
Due to this issue, application syslog gets below error
2014-05-08 10:36:08,530 DEBUG [main] org.apache.hadoop.util.Shell: Failed to detect a valid hadoop home directory
java.io.IOException: HADOOP_HOME or hadoop.home.dir are not set.
at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:265)
at org.apache.hadoop.util.Shell.<clinit>(Shell.java:290)
at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:76)
at org.apache.hadoop.yarn.conf.YarnConfiguration.<clinit>(YarnConfiguration.java:531)
at org.apache.tez.dag.app.DAGAppMaster.main(DAGAppMaster.java:1763)
2014-05-08 10:36:08,543 DEBUG [main] org.apache.hadoop.util.Shell: setsid exited with exit code 0
Attachments
Issue Links
- links to