YARN-5514. Clarify DecommissionType.FORCEFUL comment (Vrushali C via Varun Saxena)

This commit is contained in:
Varun Saxena 2016-08-16 14:09:47 +05:30
parent 2f4660ce98
commit da70d6f25d
1 changed files with 9 additions and 3 deletions

View File

@ -17,13 +17,19 @@
*/ */
package org.apache.hadoop.yarn.api.records; package org.apache.hadoop.yarn.api.records;
/**
* Specifies the different types of decommissioning of nodes.
*/
public enum DecommissionType { public enum DecommissionType {
/** Decomissioning nodes in normal way **/ /** Decomissioning nodes in normal way. **/
NORMAL, NORMAL,
/** Graceful decommissioning of nodes **/ /** Graceful decommissioning of nodes. **/
GRACEFUL, GRACEFUL,
/** Forceful decommissioning of nodes which are already in progress **/ /**
* Forceful decommissioning of nodes whose decommissioning is already in
* progress.
**/
FORCEFUL FORCEFUL
} }