Andrew Onischuk created AMBARI-5744:
---------------------------------------
Summary: HADOOP_HOME is not set in hadoop-env.sh
Key: AMBARI-5744
URL: https://issues.apache.org/jira/browse/AMBARI-5744
Project: Ambari
Issue Type: Bug
Reporter: Andrew Onischuk
Assignee: Andrew Onischuk
Fix For: 1.6.0
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
--
This message was sent by Atlassian JIRA
(v6.2#6252)