[ https://issues.apache.org/jira/browse/YARN-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192710#comment-14192710 ]
Hadoop QA commented on YARN-2790: --------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12678592/YARN-2790.1.patch against trunk revision 6ce32f5. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/5672//testReport/ Console output: https://builds.apache.org/job/PreCommit-YARN-Build/5672//console This message is automatically generated. > NM can't aggregate logs past HDFS delegation token expiry. > ---------------------------------------------------------- > > Key: YARN-2790 > URL: https://issues.apache.org/jira/browse/YARN-2790 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.6.0 > Reporter: Tassapol Athiapinya > Assignee: Jian He > Attachments: YARN-2790.1.patch > > > We shorten hdfs delegation token lifetime, set RM to act as as a proxy user > in order to be able to renew the token on behalf of a user submitting the > application. Still we see NM log aggregation fail due to token expiry error. > {code} > 2014-10-31 00:11:56,579 INFO logaggregation.AppLogAggregatorImpl > (AppLogAggregatorImpl.java:finishLogAggregation(481)) - Application just > finished : application_1414705229376_0004 > 2014-10-31 00:11:56,588 WARN ipc.Client (Client.java:run(675)) - Exception > encountered while connecting to the server : > org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken): > token (HDFS_DELEGATION_TOKEN token 75 for user1) is expired > 2014-10-31 00:11:56,589 ERROR logaggregation.AppLogAggregatorImpl > (AppLogAggregatorImpl.java:uploadLogsForContainers(233)) - Cannot create > writer for app application_1414705229376_0004. Skip log upload this time. > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)