Rohith Sharma K S created YARN-5660:

             Summary: Wrong audit constants are used in Get/Put of priority in 
                 Key: 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

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;

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to