You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/05/13 20:08:15 UTC
[jira] [Commented] (AMBARI-5744) HADOOP_HOME is not set in
hadoop-env.sh
[ https://issues.apache.org/jira/browse/AMBARI-5744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996714#comment-13996714 ]
Andrew Onischuk commented on AMBARI-5744:
-----------------------------------------
Committed to branch-1.6.0
> 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)