[
https://issues.apache.org/jira/browse/HDFS-3907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452282#comment-13452282
]
Andy Isaacson commented on HDFS-3907:
-------------------------------------
LGTM, could we also get a test that tests the single-user case? Your current
patch changes testGetBlockLocalPathInfo to test two-user case, let's preserve
the existing single-user case and add a new test to test two-user case.
Similarly,
{code}
- // Now try with a not allowed user.
+ // Try with the other allowed user
{code}
we should continue to test with a not allowed user and add a new test to test
with the other allowed user.
> 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
> 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