YARN-9503. Fix JavaDoc error in TestSchedulerOvercommit. Contributed by Wanqiang Ji.

This commit is contained in:
Akira Ajisaka 2019-05-28 15:52:39 +09:00
parent 72dd79015a
commit 9078e28a24
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -70,7 +70,7 @@
/** /**
* Generic tests for overcommitting resources. This needs to be instantiated * 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 * If reducing the amount of resources leads to overcommitting (negative
* available resources), the scheduler will select containers to make room. * 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 * Get the configuration for the scheduler. This is used when setting up the
* Resource Manager and should setup the scheduler (e.g., Capacity Scheduler * Resource Manager and should setup the scheduler (e.g., Capacity Scheduler
* or Fair Scheduler). It needs to set the configuration with * or Fair Scheduler). It needs to set the configuration with
* {@link YarnConfiguration.RM_SCHEDULER}. * {@link YarnConfiguration#RM_SCHEDULER}.
* @return Configuration for the scheduler. * @return Configuration for the scheduler.
*/ */
protected Configuration getConfiguration() { protected Configuration getConfiguration() {
@ -531,7 +531,7 @@ public void testEndToEnd() throws Exception {
/** /**
* Create a container with a particular size and make sure it succeeds. * 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. * @param memory Memory of the container.
* @return Newly created container. * @return Newly created container.
* @throws Exception If there are issues creating the container. * @throws Exception If there are issues creating the container.