-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-10893. Adding metrics for getClusterMetrics and getApplications APIs in FederationClientInterceptor #3325
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. |
|
@goiri @bibinchundatt Could you kindly help in reviewing this PR? Thanks. |
...src/main/java/org/apache/hadoop/yarn/server/router/clientrm/FederationClientInterceptor.java
Show resolved
Hide resolved
...yarn-server-router/src/test/java/org/apache/hadoop/yarn/server/router/TestRouterMetrics.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
| import java.lang.reflect.Method; | ||
| import java.util.ArrayList; | ||
| import java.util.Collection; | ||
| import java.util.HashMap; |
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.
There is a warning here.
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.
Fixed.
|
🎊 +1 overall
This message was automatically generated. |
…APIs in FederationClientInterceptor (apache#3325)
Description of PR
Adding metrics for getClusterMetrics and getApplications APIs in FederationClientInterceptor
How was this patch tested?
Added tests for RouterMetrics and validated existing test cases for FederationClientInterceptor APIs. Unit test are running successfully on dev machine.
Verified on a test cluster.