From 830aaac0231c40d7f179967a1d00e76323b81826 Mon Sep 17 00:00:00 2001 From: Adam Antal Date: Fri, 15 Feb 2019 09:17:32 +0100 Subject: [PATCH] YARN-9283. Javadoc of LinuxContainerExecutor#addSchedPriorityCommand has a wrong property name as reference Signed-off-by: Akira Ajisaka (cherry picked from commit 9385ec45d75109a2e6565faa10527cc56637bf5f) --- .../hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java index f08d323ad18..bf7031c8431 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java @@ -269,7 +269,7 @@ public class LinuxContainerExecutor extends ContainerExecutor { * Add a niceness level to the process that will be executed. Adds * {@code -n } to the given command. The niceness level will be * taken from the - * {@code yarn.nodemanager.container-executer.os.sched.prioity} property. + * {@link YarnConfiguration#NM_CONTAINER_EXECUTOR_SCHED_PRIORITY} property. * * @param command the command to which to add the niceness setting. */