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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha2
    • resourcemanager
    • 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;
          }
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: