Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F084108E2 for ; Tue, 26 May 2015 22:53:19 +0000 (UTC) Received: (qmail 81775 invoked by uid 500); 26 May 2015 22:53:18 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 81724 invoked by uid 500); 26 May 2015 22:53:18 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 81699 invoked by uid 99); 26 May 2015 22:53:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 May 2015 22:53:18 +0000 Date: Tue, 26 May 2015 22:53:18 +0000 (UTC) From: "Anthony Hsu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7984) webhdfs:// needs to support provided delegation tokens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560039#comment-14560039 ] Anthony Hsu commented on HDFS-7984: ----------------------------------- Actually, it seems that WebHdfsFileSystem *does* use the tokens in {{HADOOP_TOKEN_FILE_LOCATION}} (under the hood, it's all handled by {{UserGroupInformation}}). My mistake earlier was that I was fetching delegation tokens for {{hdfs://}} rather than {{webhdfs://}}. Once I fixed this, setting {{HADOOP_TOKEN_FILE_LOCATION}} worked as expected. > webhdfs:// needs to support provided delegation tokens > ------------------------------------------------------ > > Key: HDFS-7984 > URL: https://issues.apache.org/jira/browse/HDFS-7984 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > Priority: Blocker > > When using the webhdfs:// filesystem (especially from distcp), we need the ability to inject a delegation token rather than webhdfs initialize its own. This would allow for cross-authentication-zone file system accesses. -- This message was sent by Atlassian JIRA (v6.3.4#6332)