You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Naganarasimha G R (JIRA)" <ji...@apache.org> on 2016/09/21 14:27:21 UTC
[jira] [Commented] (YARN-5660) Wrong audit constants are used in
Get/Put of priority in RMWebService
[ https://issues.apache.org/jira/browse/YARN-5660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15510104#comment-15510104 ]
Naganarasimha G R commented on YARN-5660:
-----------------------------------------
[~rohithsharma],
Adding to i think its not required to add audit logs for get priority failure & audit log failure message "Trying to move an absent application " needs to be modified appropriately ...
> 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
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org