[ 
https://issues.apache.org/jira/browse/YARN-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193869#comment-14193869
 ] 

Hudson commented on YARN-2790:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1945 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1945/])
YARN-2790. Fixed a NodeManager bug that was causing log-aggregation to fail 
beyond HFDS delegation-token expiry even when RM is a proxy-user (YARN-2704). 
Contributed by Jian He. (vinodkv: rev 5c0381c96aa79196829edbca497c649eb6776944)
* hadoop-yarn-project/CHANGES.txt
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/AppLogAggregatorImpl.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/TestLogAggregationService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/logaggregation/LogAggregationService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeStatusUpdaterImpl.java
* 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/NodeManager.java


> 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
>            Priority: Critical
>             Fix For: 2.6.0
>
>         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)

Reply via email to