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 51344200B56 for ; Sat, 16 Jul 2016 00:49:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4FD78160A61; Fri, 15 Jul 2016 22:49:22 +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 9A3AA160A79 for ; Sat, 16 Jul 2016 00:49:21 +0200 (CEST) Received: (qmail 32315 invoked by uid 500); 15 Jul 2016 22:49:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 32296 invoked by uid 99); 15 Jul 2016 22:49:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 22:49:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 908A62C0031 for ; Fri, 15 Jul 2016 22:49:20 +0000 (UTC) Date: Fri, 15 Jul 2016 22:49:20 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-13381) KMS clients running in the same JVM should use updated KMS Delegation Token MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 15 Jul 2016 22:49:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiao Chen updated HADOOP-13381: ------------------------------- Attachment: HADOOP-13381.01.patch The {{KeyProviderCache}} is necessary according to HDFS-7718. To fix the issue, I can think of 2 options: - Change the cache to recognize different clients. - Update KMSClientProvider to favor new tokens. I chose option #2 because #1 would increase {{KeyProvider}} object based on client number, and even so we still need to update the tokens since after a MR job, a token may be explicitly cancelled. This is more of an end-to-end thing, but I tried to mimic it in TestKMS to keep it simple. Patch 1 attached. Thanks [~rkanter] again for helping me understand Yarn log aggregation! Ping [~asuresh] / [~andrew.wang] for review, thank you in advance. > KMS clients running in the same JVM should use updated KMS Delegation Token > --------------------------------------------------------------------------- > > Key: HADOOP-13381 > URL: https://issues.apache.org/jira/browse/HADOOP-13381 > Project: Hadoop Common > Issue Type: Bug > Components: kms > Affects Versions: 2.6.0 > Reporter: Xiao Chen > Assignee: Xiao Chen > Priority: Critical > Attachments: HADOOP-13381.01.patch > > > When {{/tmp}} is setup as an EZ, one may experience YARN log aggregation failure after the KMS token is expired. The MR job itself runs find though. > When this happens, YARN NodeManager's log will show {{AuthenticationException}} with token is expire / token can't be found in cache, depending on whether the expired token is removed by the background or not. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org