You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jason Lowe (JIRA)" <ji...@apache.org> on 2016/03/08 16:43:40 UTC
[jira] [Created] (YARN-4775) Nodemanager checks for old aggregated
logs as the NM user instead of the app user
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)