[
https://issues.apache.org/jira/browse/YARN-5660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junping Du updated YARN-5660:
-----------------------------
Fix Version/s: (was: 2.9.0)
> Wrong audit constants are used in Get/Put of priority in RMWebService
> ---------------------------------------------------------------------
>
> Key: YARN-5660
> URL: https://issues.apache.org/jira/browse/YARN-5660
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Reporter: Rohith Sharma K S
> Assignee: Rohith Sharma K S
> Priority: Trivial
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: YARN-5660.1.patch, YARN-5660.patch
>
>
> In methods {{RMWebService#getAppPriority}} and
> {{RMWebService#updateApplicationPriority}} uses wrong audit constants for
> RMAuditLogger. It should be AuditConstants.UPDATE_APP_PRIORITY
> {code}
> RMApp app = null;
> try {
> app = getRMAppForAppId(appId);
> } catch (NotFoundException e) {
> RMAuditLogger.logFailure(userName, AuditConstants.KILL_APP_REQUEST,
> "UNKNOWN", "RMWebService",
> "Trying to move an absent application " + appId);
> throw e;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]