From 9078e28a2482f79fb90a16fb46a127e92847c5e7 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Tue, 28 May 2019 15:52:39 +0900 Subject: [PATCH] YARN-9503. Fix JavaDoc error in TestSchedulerOvercommit. Contributed by Wanqiang Ji. --- .../resourcemanager/scheduler/TestSchedulerOvercommit.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestSchedulerOvercommit.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestSchedulerOvercommit.java index 758fd33e8a..36b5198506 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestSchedulerOvercommit.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestSchedulerOvercommit.java @@ -70,7 +70,7 @@ /** * Generic tests for overcommitting resources. This needs to be instantiated - * with a scheduler ({@link YarnConfiguration.RM_SCHEDULER}). + * with a scheduler ({@link YarnConfiguration#RM_SCHEDULER}). * * If reducing the amount of resources leads to overcommitting (negative * available resources), the scheduler will select containers to make room. @@ -142,7 +142,7 @@ public void setup() throws Exception { * Get the configuration for the scheduler. This is used when setting up the * Resource Manager and should setup the scheduler (e.g., Capacity Scheduler * or Fair Scheduler). It needs to set the configuration with - * {@link YarnConfiguration.RM_SCHEDULER}. + * {@link YarnConfiguration#RM_SCHEDULER}. * @return Configuration for the scheduler. */ protected Configuration getConfiguration() { @@ -531,7 +531,7 @@ public void testEndToEnd() throws Exception { /** * Create a container with a particular size and make sure it succeeds. - * @param am Application Master to add the container to. + * @param app Application Master to add the container to. * @param memory Memory of the container. * @return Newly created container. * @throws Exception If there are issues creating the container.