From dd49077aed1e74f93343cead856b8a6f03c19073 Mon Sep 17 00:00:00 2001 From: Riya Khandelwal <113989101+riyakhdl@users.noreply.github.com> Date: Mon, 9 Jan 2023 20:00:24 +0530 Subject: [PATCH] YARN-6412 aux-services classpath not documented (#5242) --- .../src/main/resources/yarn-default.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml index ec2ac71adc..80672fb1cc 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/resources/yarn-default.xml @@ -2459,6 +2459,24 @@ 0 + + Provide local directory which includes the related jar file as well as all the dependencies’ + jar file. We could specify the single jar file or use ${local_dir_to_jar}/* to load all + jars under the dep directory. + yarn.nodemanager.aux-services.%s.classpath + NONE + + + + Normally this configuration shouldn't be manually set. The class would be loaded from customized + classpath if it does not belong to system-classes. By default, the package org.apache.hadoop is part of the + system-classes. If for example the class CustomAuxService is in the package org.apache.hadoop, it will not be + loaded from the customized classpath. To solve this, either the package of CustomAuxService could be changed, + or a separate system-classes could be configured which excludes the package org.apache.hadoop. + yarn.nodemanager.aux-services.%s.system-classes + + + No. of ms to wait between sending a SIGTERM and SIGKILL to a container yarn.nodemanager.sleep-delay-before-sigkill.ms