Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5660

Wrong audit constants are used in Get/Put of priority in RMWebService

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: resourcemanager
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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;
          }
      

        Attachments

        1. YARN-5660.1.patch
          5 kB
          Rohith Sharma K S
        2. YARN-5660.patch
          3 kB
          Rohith Sharma K S

          Activity

            People

            • Assignee:
              rohithsharma Rohith Sharma K S
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: