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

NM incorrectly logs container user as the user who sent a start/stop container request in its audit log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • nodemanager
    • None
    • Reviewed

    Description

      As in  ContainerManagerImpl.java

      protected void stopContainerInternal(ContainerId containerID)
            throws YarnException, IOException { 
          ...           
          NMAuditLogger.logSuccess(container.getUser(), AuditConstants.STOP_CONTAINER,
                 "ContainerManageImpl", containerID.getApplicationAttemptId().getApplicationId(), containerID);
      }

      Attachments

        1. YARN-8864.002.patch
          15 kB
          wilfreds#1
        2. YARN-8864.001.patch
          11 kB
          wilfreds#1

        Activity

          People

            wilfreds Wilfred Spiegelenburg
            haibochen Haibo Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: