ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-5744) HADOOP_HOME is not set in hadoop-env.sh
Date Tue, 13 May 2014 18:08:15 GMT

    [ 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)

Mime
View raw message