-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YARN-11485. [Federation] Router Supports Yarn Admin CLI Cmds. #6265
Conversation
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
} | ||
|
||
String subClusterId = cliParser.getOptionValue(OPTION_SUBCLUSTERID); | ||
if(StringUtils.isBlank(subClusterId)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for your help in reviewing the code! I will fix it.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
rmAdminCLI.getConf().setBoolean(YarnConfiguration.FEDERATION_ENABLED, true); | ||
|
||
// replaceLabelsOnNode | ||
String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1108: String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" ,:40: '{' is followed by whitespace. [NoWhitespaceAfter]
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1108: String[] replaceLabelsOnNodeArgs = { "-replaceLabelsOnNode" ,:65: ',' is preceded with whitespace. [NoWhitespaceBefore]
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1112: String[] refreshQueuesArgs = { "-refreshQueues" , "-subClusterId", "SC-1" };:34: '{' is followed by whitespace. [NoWhitespaceAfter]
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1112: String[] refreshQueuesArgs = { "-refreshQueues" , "-subClusterId", "SC-1" };:53: ',' is preceded with whitespace. [NoWhitespaceBefore]
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1115: String[] refreshNodesResourcesArgs = { "-refreshNodesResources" , "-subClusterId", "SC-1" };:42: '{' is followed by whitespace. [NoWhitespaceAfter]
./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRMAdminCLI.java:1115: String[] refreshNodesResourcesArgs = { "-refreshNodesResources" , "-subClusterId", "SC-1" };:69: ',' is preceded with whitespace. [NoWhitespaceBefore]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your suggestion! I will fix it.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@goiri Thank you very much for your help in reviewing the code! |
…#6265) Contributed by Shilun Fan. Reviewed-by: Inigo Goiri <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
Description of PR
JIRA: YARN-11485. [Federation] Router Supports Yarn Admin CLI Cmds.
How was this patch tested?
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?