Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 84705 invoked from network); 8 Apr 2011 20:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 20:05:46 -0000 Received: (qmail 11371 invoked by uid 500); 8 Apr 2011 20:05:46 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 11299 invoked by uid 500); 8 Apr 2011 20:05:46 -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 11200 invoked by uid 99); 8 Apr 2011 20:05:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 20:05:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 08 Apr 2011 20:05:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 320729901F for ; Fri, 8 Apr 2011 20:05:06 +0000 (UTC) Date: Fri, 8 Apr 2011 20:05:06 +0000 (UTC) From: "Jitendra Nath Pandey (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1151781599.44816.1302293106201.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2031094403.39530.1302139745831.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HDFS-1813) Hdfs Federation: Authentication using BlockToken in RPC to datanode fails. 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-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jitendra Nath Pandey resolved HDFS-1813. ---------------------------------------- Resolution: Fixed Committed the latest patch. > Hdfs Federation: Authentication using BlockToken in RPC to datanode fails. > -------------------------------------------------------------------------- > > Key: HDFS-1813 > URL: https://issues.apache.org/jira/browse/HDFS-1813 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Jitendra Nath Pandey > Assignee: Jitendra Nath Pandey > Fix For: Federation Branch > > Attachments: HDFS-1813.1.patch, HDFS-1813.2.patch, HDFS-1813.3.patch, HDFS-1813.4.patch > > > Several issues are causing this problem > 1. The last LocatedBlock returned by getBlockLocations doesn't have BlockToken. > 2. The blockPoolTokenSecretManager is not initialized before created rpc server in datanode. > 3. The getReplicaVisibleLength API in datanode expects WRITE permission in the block token, but the block tokens are generated with read permission only in getBlockLocations at namenode. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira