slfan1989 commented on code in PR #5905:
URL: https://github.com/apache/hadoop/pull/5905#discussion_r1278475081
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java:
##########
@@ -1280,6 +1280,16 @@ public static boolean isAclEnabled(Configuration conf) {
public static final int
DEFAULT_RM_DECOMMISSIONING_NODES_WATCHER_POLL_INTERVAL = 20;
+ /**
+ * Allow Delayed Removal of Decommissioning Nodes to account for scheduled
AM containers
+ * on that node. No delay if set to 0.
+ */
+ public static final String RM_DECOMMISSIONING_NODES_WATCHER_DELAY_MS =
+ RM_PREFIX + "decommissioning-nodes-watcher.delay-ms";
Review Comment:
indentation 5chars
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/conf/YarnConfiguration.java:
##########
@@ -1280,6 +1280,16 @@ public static boolean isAclEnabled(Configuration conf) {
public static final int
DEFAULT_RM_DECOMMISSIONING_NODES_WATCHER_POLL_INTERVAL = 20;
+ /**
+ * Allow Delayed Removal of Decommissioning Nodes to account for scheduled
AM containers
+ * on that node. No delay if set to 0.
+ */
+ public static final String RM_DECOMMISSIONING_NODES_WATCHER_DELAY_MS =
+ RM_PREFIX + "decommissioning-nodes-watcher.delay-ms";
+
+ public static final int
+ DEFAULT_RM_DECOMMISSIONING_NODES_WATCHER_DELAY_MS = 0;
Review Comment:
indentation 5chars
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]