Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3761B2009E2 for ; Wed, 1 Jun 2016 22:51:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35AE2160A4C; Wed, 1 Jun 2016 20:51:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7BC00160A45 for ; Wed, 1 Jun 2016 22:51:00 +0200 (CEST) Received: (qmail 46381 invoked by uid 500); 1 Jun 2016 20:50:59 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 46370 invoked by uid 99); 1 Jun 2016 20:50:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2016 20:50:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3E4212C1F69 for ; Wed, 1 Jun 2016 20:50:59 +0000 (UTC) Date: Wed, 1 Jun 2016 20:50:59 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-5098) Yarn Application log Aggreagation fails due to NM can not get correct HDFS delegation token MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Jun 2016 20:51:01 -0000 [ https://issues.apache.org/jira/browse/YARN-5098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jian He updated YARN-5098: -------------------------- Attachment: YARN-5098.2.patch Fix the check style warnings. Left the ones that are invalid. > Yarn Application log Aggreagation fails due to NM can not get correct HDFS delegation token > ------------------------------------------------------------------------------------------- > > Key: YARN-5098 > URL: https://issues.apache.org/jira/browse/YARN-5098 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Reporter: Yesha Vora > Assignee: Jian He > Attachments: YARN-5098.1.patch, YARN-5098.1.patch, YARN-5098.2.patch > > > Environment : HA cluster > Yarn application logs for long running application could not be gathered because Nodemanager failed to talk to HDFS with below error. > {code} > 2016-05-16 18:18:28,533 INFO logaggregation.AppLogAggregatorImpl (AppLogAggregatorImpl.java:finishLogAggregation(555)) - Application just finished : application_1463170334122_0002 > 2016-05-16 18:18:28,545 WARN ipc.Client (Client.java:run(705)) - Exception encountered while connecting to the server : > org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.token.SecretManager$InvalidToken): token (HDFS_DELEGATION_TOKEN token 171 for hrt_qa) can't be found in cache > at org.apache.hadoop.security.SaslRpcClient.saslConnect(SaslRpcClient.java:375) > at org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(Client.java:583) > at org.apache.hadoop.ipc.Client$Connection.access$1900(Client.java:398) > at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:752) > at org.apache.hadoop.ipc.Client$Connection$2.run(Client.java:748) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1719) > at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:747) > at org.apache.hadoop.ipc.Client$Connection.access$3100(Client.java:398) > at org.apache.hadoop.ipc.Client.getConnection(Client.java:1597) > at org.apache.hadoop.ipc.Client.call(Client.java:1439) > at org.apache.hadoop.ipc.Client.call(Client.java:1386) > at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:240) > at com.sun.proxy.$Proxy83.getServerDefaults(Unknown Source) > at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getServerDefaults(ClientNamenodeProtocolTranslatorPB.java:282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:256) > at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104) > at com.sun.proxy.$Proxy84.getServerDefaults(Unknown Source) > at org.apache.hadoop.hdfs.DFSClient.getServerDefaults(DFSClient.java:1018) > at org.apache.hadoop.fs.Hdfs.getServerDefaults(Hdfs.java:156) > at org.apache.hadoop.fs.AbstractFileSystem.create(AbstractFileSystem.java:550) > at org.apache.hadoop.fs.FileContext$3.next(FileContext.java:687) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org