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 A83472009C5 for ; Mon, 16 May 2016 19:04:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A6D67160A19; Mon, 16 May 2016 17:04:15 +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 23261160A16 for ; Mon, 16 May 2016 19:04:14 +0200 (CEST) Received: (qmail 43401 invoked by uid 500); 16 May 2016 17:04:13 -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 43344 invoked by uid 99); 16 May 2016 17:04:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2016 17:04:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2E7E2C1F58 for ; Mon, 16 May 2016 17:04:12 +0000 (UTC) Date: Mon, 16 May 2016 17:04:12 +0000 (UTC) From: "Xiao Chen (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-13155) Implement TokenRenewer in KMS and HttpFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 May 2016 17:04:15 -0000 Xiao Chen created HADOOP-13155: ---------------------------------- Summary: Implement TokenRenewer in KMS and HttpFS Key: HADOOP-13155 URL: https://issues.apache.org/jira/browse/HADOOP-13155 Project: Hadoop Common Issue Type: Bug Reporter: Xiao Chen Assignee: Xiao Chen DelegationToken is done in Yarn by {{DelegationTokenRenewer}}, where it calls {{Token#renew}} and uses ServiceLoader to get the renewer class ([code|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java#L382]) We seem to miss the token renewer class in KMS/HttpFSFileSystem, and hence Yarn defaults to {{TrivialRenewer}} for DT of these kinds, resulting in the token not renewed. As a side note, {{HttpFSFileSystem}} does have a {{renewDelegationToken}} API, but I don't see it invoked in hadoop code base. KMS does not have any renew hook. -- 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