Jason Lowe created YARN-4775:
--------------------------------

             Summary: Nodemanager checks for old aggregated logs as the NM user 
instead of the app user
                 Key: YARN-4775
                 URL: https://issues.apache.org/jira/browse/YARN-4775
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.6.0
            Reporter: Jason Lowe
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to