[ 
https://issues.apache.org/jira/browse/YARN-11424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685923#comment-17685923
 ] 

ASF GitHub Bot commented on YARN-11424:
---------------------------------------

slfan1989 commented on code in PR #5363:
URL: https://github.com/apache/hadoop/pull/5363#discussion_r1100224341


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/federation/store/records/SubClusterState.java:
##########
@@ -55,6 +55,10 @@ public boolean isUnusable() {
     return (this != SC_RUNNING && this != SC_NEW);
   }
 
+  public boolean isUsable() {
+    return !isUnusable();

Review Comment:
   I will fix it.





> [Federation] Router AdminCLI Supports DeregisterSubCluster.
> -----------------------------------------------------------
>
>                 Key: YARN-11424
>                 URL: https://issues.apache.org/jira/browse/YARN-11424
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: federation
>    Affects Versions: 3.4.0
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>
> Router provides commands for Deregister SubCluster.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to