Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5744

HADOOP_HOME is not set in hadoop-env.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • 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

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: