[ 
https://issues.apache.org/jira/browse/HDFS-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452237#comment-13452237
 ] 

Eli Collins commented on HDFS-3907:
-----------------------------------

I tested a cluster with {{dfs.block.local-path-access.user}} configured to two 
users, both users can read/exec data blocks on the datanode local fs, and 
verified via logging that local reads were used when both users read HDFS files.

                
> 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: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Eli Collins
>         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

Reply via email to