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 9330BD0DF for ; Mon, 10 Sep 2012 19:42:09 +0000 (UTC) Received: (qmail 12187 invoked by uid 500); 10 Sep 2012 19:42:08 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 12150 invoked by uid 500); 10 Sep 2012 19:42:08 -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 12080 invoked by uid 99); 10 Sep 2012 19:42:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2012 19:42:08 +0000 Date: Tue, 11 Sep 2012 06:42:08 +1100 (NCT) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <2129860170.59462.1347306128726.JavaMail.jiratomcat@arcas> In-Reply-To: <1592405455.54603.1347141307497.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HDFS-3907) Allow multiple users for local block readers 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-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452356#comment-13452356 ] Hudson commented on HDFS-3907: ------------------------------ Integrated in Hadoop-Mapreduce-trunk-Commit #2737 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2737/]) HDFS-3907. Allow multiple users for local block readers. Contributed by Eli Collins (Revision 1383031) Result = FAILURE eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1383031 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java > Allow multiple users for local block readers > -------------------------------------------- > > Key: HDFS-3907 > URL: https://issues.apache.org/jira/browse/HDFS-3907 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node > Affects Versions: 1.0.0, 2.0.0-alpha > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: 2.0.2-alpha > > Attachments: hdfs-3907.txt > > > The {{dfs.block.local-path-access.user}} config added in HDFS-2246 only supports a single user, however as long as blocks are group readable by more than one user the feature could be used by multiple users, to support this we just need to allow both to be configured. In practice this allows us to also support HBase where the client (RS) runs as the hbase system user and the DN runs as hdfs system user. I think this should work secure as well since we're not using impersonation in the HBase case. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira