-
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-11223. [Federation] Add getAppPriority, updateApplicationPriority REST APIs for Router. #4733
Conversation
…y REST APIs for Router.
🎊 +1 overall
This message was automatically generated. |
return interceptor.getAppPriority(hsr, appId); | ||
} catch (IllegalArgumentException e) { | ||
RouterServerUtil.logAndThrowRunTimeException(e, | ||
"Unable to get the getAppPriority appId: %s.", appId); |
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.
Indentation looks funny.
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.
try { | ||
SubClusterInfo subClusterInfo = getHomeSubClusterInfoByAppId(appId); | ||
DefaultRequestInterceptorREST interceptor = getOrCreateInterceptorForSubCluster( | ||
subClusterInfo.getSubClusterId(), subClusterInfo.getRMWebServiceAddress()); |
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.
Indentation
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. |
@goiri Please help to review the code again, Thank you very much! |
🎊 +1 overall
This message was automatically generated. |
@goiri Thank you very much for your help reviewing the code, I will follow up with YARN-11224. |
…y REST APIs for Router. (apache#4733)
JIRA: YARN-11223. [Federation] Add getAppPriority, updateApplicationPriority REST APIs for Router.