Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
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; }