AnsweredAssumed Answered

Hadoop Customization overwritten by Ambari - hadoop-env.sh

Question asked by jessica210 on Jul 29, 2017
Latest reply on Jul 31, 2017 by MichaelSegel

It seems a simple task: change JAVA_HOME in /etc/hadoop/conf/hadoop-env.sh to use a different version of Java.

However, Ambari will, it seems, overwrite any changes you make in the hadoop-env.sh, by using it's templating scheme.

The template seems to contain following line:

export JAVA_HOME={{java_home}}

So, now if this is used to generate and replace the environment on each node, how do I define the {{java_home}}?

Outcomes