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 29D3E7F00 for ; Thu, 24 Nov 2011 00:45:25 +0000 (UTC) Received: (qmail 2208 invoked by uid 500); 24 Nov 2011 00:45:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 2187 invoked by uid 500); 24 Nov 2011 00:45:24 -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 2174 invoked by uid 99); 24 Nov 2011 00:45:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 00:45:24 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 00:45:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 714DD9BBA8 for ; Thu, 24 Nov 2011 00:44:41 +0000 (UTC) Date: Thu, 24 Nov 2011 00:44:41 +0000 (UTC) From: "Konstantin Shvachko (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1867563373.8031.1322095481465.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1334) open in HftpFileSystem does not add delegation tokens to the url. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko updated HDFS-1334: -------------------------------------- Fix Version/s: 0.22.0 > open in HftpFileSystem does not add delegation tokens to the url. > ----------------------------------------------------------------- > > Key: HDFS-1334 > URL: https://issues.apache.org/jira/browse/HDFS-1334 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Jitendra Nath Pandey > Assignee: Jitendra Nath Pandey > Fix For: 0.22.0 > > Attachments: HDFS-1334.1.patch > > > open method in HftpFileSystem uses ByteRangeInputStream for url connection. But it does not add the delegation tokens, even if security is enabled, to the url before passing it to the ByteRangeInputStream. Therefore request fails if security is enabled. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira