diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/DecommissionType.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/DecommissionType.java index 988fd51ed08..ba5609de92a 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/DecommissionType.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/DecommissionType.java @@ -17,13 +17,19 @@ */ package org.apache.hadoop.yarn.api.records; +/** + * Specifies the different types of decommissioning of nodes. + */ public enum DecommissionType { - /** Decomissioning nodes in normal way **/ + /** Decomissioning nodes in normal way. **/ NORMAL, - /** Graceful decommissioning of nodes **/ + /** Graceful decommissioning of nodes. **/ GRACEFUL, - /** Forceful decommissioning of nodes which are already in progress **/ + /** + * Forceful decommissioning of nodes whose decommissioning is already in + * progress. + **/ FORCEFUL } \ No newline at end of file