-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-11517. Improve Federation#RouterCLI DeregisterSubCluster Code. #5766
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. |
...p-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRouterCLI.java
Show resolved
Hide resolved
...p-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestRouterCLI.java
Show resolved
Hide resolved
| long lastHeartBeat = subClusterInfo.getLastHeartBeat(); | ||
| Date lastHeartBeatDate = new Date(lastHeartBeat); | ||
|
|
||
| String heartBeatTimeOut = |
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.
Don't we use somewhere else other than the log message?
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 modify the code.
|
🎊 +1 overall
This message was automatically generated. |
|
@goiri Can you help review this pr again ? Thank you very much! |
Description of PR
JIRA: YARN-11517. Improve Federation#RouterCLI deregisterSubCluster Code.
In this pr, we have made improvements to the code of RouterCLI#DeregisterSubCluster, enhancing its readability. Additionally, we have optimized the output infomation style by presenting the data in a tabular format.
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?