Hi folks, I noticed this while setting up a cluster based on the current trunk. It appears that setting HADOOP_HOME is now done much later (in hadoop_finalize) than branch-2. Importantly this is set *after* hadoop-env.sh (or yarn-env.sh) is invoked.
In our version of hadoop-env.sh, we have used $HADOOP_HOME to define some more variables, but it appears that we can no longer rely on the HADOOP_HOME value in our *-env.sh customization. Is this an intended change in the recent shell script refactoring? What is the right thing to use in hadoop-env.sh for the location of hadoop? Thanks, Sangjin