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

Nodemanager checks for old aggregated logs as the NM user instead of the app user

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.6.0
    • None
    • nodemanager
    • None

    Description

      AppLogAggregatorImpl#cleanOldLogs checks for old aggregated logs as the NM user instead of using the UGI for the app whose logs are being aggregated. This causes an extra connection to the namenode if the NM user wasn't already connected to the namenode. If cleanOldLogs does find logs to delete then it uses the UGI of the app to delete them, so it's not consistent. It should use the app UGI for both listing and for deleting.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: