Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.6.0
-
None
-
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.