-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-11169. Support moveApplicationAcrossQueues, getQueueInfo API's for Federation. #4464
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
Conversation
|
🎊 +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. |
|
💔 -1 overall
This message was automatically generated. |
|
The reason why Junit Test failed is because of YARN-9827(pr#4393), a separate PR was submitted to fix YARN-11192(pr#4484). TestRouterWebServicesREST failing after YARN-9827. |
|
🎊 +1 overall
This message was automatically generated. |
|
@goiri Please help me to review the code, Thank you very much! |
| mockRM.sendAMLaunched(rmApp.getCurrentAppAttempt().getAppAttemptId()); | ||
|
|
||
| MoveApplicationAcrossQueuesRequest acrossQueuesRequest = | ||
| MoveApplicationAcrossQueuesRequest.newInstance(appId,"root.target"); |
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-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/clientrm/TestFederationClientInterceptor.java:1142: MoveApplicationAcrossQueuesRequest.newInstance(appId,"root.target");:61: ',' is not followed by whitespace. [WhitespaceAfter]
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 help reviewing the code, I will fix it.
| Assert.assertNotNull(queueInfo); | ||
| Assert.assertEquals(queueInfo.getQueueName(), "root"); | ||
| Assert.assertEquals(queueInfo.getCapacity(), 4.0, 0); | ||
| Assert.assertEquals(queueInfo.getCurrentCapacity(), 0.0,0); |
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-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/clientrm/TestFederationClientInterceptor.java:1168: Assert.assertEquals(queueInfo.getCurrentCapacity(), 0.0,0);:60: ',' is not followed by whitespace. [WhitespaceAfter]
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.
I will fix it.
| Assert.assertEquals(queueInfo.getQueueName(), "root"); | ||
| Assert.assertEquals(queueInfo.getCapacity(), 4.0, 0); | ||
| Assert.assertEquals(queueInfo.getCurrentCapacity(), 0.0,0); | ||
| Assert.assertEquals(queueInfo.getChildQueues().size(), 12,0); |
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-server/hadoop-yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/clientrm/TestFederationClientInterceptor.java:1169: Assert.assertEquals(queueInfo.getChildQueues().size(), 12,0);:62: ',' is not followed by whitespace. [WhitespaceAfter]
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.
I will fix it.
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@goiri Please help me review the code again, thank you very much! |
|
@goiri Can you help merge this pr to trunk branch? I will follow up with YARN-11160. Thank you very much! |
JIRA: YARN-11169. Support moveApplicationAcrossQueues, getQueueInfo API's for Federation.