----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21372/#review42820 -----------------------------------------------------------
Ship it! Ship It! - Vitalyi Brodetskyi On May 13, 2014, 12:18 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/21372/ > ----------------------------------------------------------- > > (Updated May 13, 2014, 12:18 p.m.) > > > Review request for Ambari and Vitalyi Brodetskyi. > > > Bugs: AMBARI-5744 > https://issues.apache.org/jira/browse/AMBARI-5744 > > > Repository: ambari > > > 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 > > > > Diffs > ----- > > > ambari-server/src/main/resources/stacks/HDP/1.3.2/hooks/after-INSTALL/templates/hadoop-env.sh.j2 > 1e61406 > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/templates/hadoop-env.sh.j2 > ebf4263 > > Diff: https://reviews.apache.org/r/21372/diff/ > > > Testing > ------- > > tested on hdp1 and hdp2 > > mvn clean test > > > Thanks, > > Andrew Onischuk > >
