From 9df6d0a361b9e5ee533b2bd477dcb7e9b95d99fd Mon Sep 17 00:00:00 2001 From: Paul-Adrien Cordonnier Date: Tue, 27 Jun 2023 15:43:39 +0200 Subject: [PATCH 1/2] feat: render HADOOP_OPTIONAL_TOOLS --- roles/hdfs/common/templates/hadoop-env.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/hdfs/common/templates/hadoop-env.sh.j2 b/roles/hdfs/common/templates/hadoop-env.sh.j2 index 0c63929c..761282c9 100644 --- a/roles/hdfs/common/templates/hadoop-env.sh.j2 +++ b/roles/hdfs/common/templates/hadoop-env.sh.j2 @@ -158,6 +158,7 @@ esac # This is a comma delimited list. It may NOT be overridden via .hadooprc # Entries may be added/removed as needed. # export HADOOP_OPTIONAL_TOOLS="hadoop-aliyun,hadoop-aws,hadoop-azure-datalake,hadoop-azure,hadoop-kafka,hadoop-openstack" +export HADOOP_OPTIONAL_TOOLS="{{ hadoop_optional_tools | join(',') }}" ### # Options for remote shell connectivity @@ -436,4 +437,3 @@ export YARN_NODEMANAGER_OPTS="${JMX_OPTS} {{ jmx_exporter_nm_opts }} $YARN_NODEM export YARN_TIMELINESERVER_OPTS="${JMX_OPTS} {{ jmx_exporter_ats_opts }} $YARN_TIMELINESERVER_OPTS" export MAPRED_HISTORYSERVER_OPTS="${JMX_OPTS} {{ jmx_exporter_jhs_opts }} $MAPRED_HISTORYSERVER_OPTS" - From e5db3235bb747105b9914a09d90118dfac6cf7da Mon Sep 17 00:00:00 2001 From: Paul-Adrien Cordonnier Date: Tue, 27 Jun 2023 16:16:03 +0200 Subject: [PATCH 2/2] fix: render HADOOP_OPTIONAL_TOOLS for yarn --- roles/yarn/common/templates/hadoop-env.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/yarn/common/templates/hadoop-env.sh.j2 b/roles/yarn/common/templates/hadoop-env.sh.j2 index c3423616..2fc6fa02 100644 --- a/roles/yarn/common/templates/hadoop-env.sh.j2 +++ b/roles/yarn/common/templates/hadoop-env.sh.j2 @@ -158,6 +158,7 @@ esac # This is a comma delimited list. It may NOT be overridden via .hadooprc # Entries may be added/removed as needed. # export HADOOP_OPTIONAL_TOOLS="hadoop-aliyun,hadoop-aws,hadoop-azure-datalake,hadoop-azure,hadoop-kafka,hadoop-openstack" +export HADOOP_OPTIONAL_TOOLS="{{ hadoop_optional_tools | join(',') }}" ### # Options for remote shell connectivity