ASF GitHub Bot commented on HDFS-11421:

GitHub user QwertyManiac opened a pull request:


    HDFS-11421. Make WebHDFS' ACLs RegEx configurable. (harsh)

    - Introduced a new config key `dfs.webhdfs.acl.provider.permission.pattern` 
with value set to existing default ACL regex
    - Added pattern-from-config setting points for `AclPermissionParam` to 
`NameNodeHttpServer`, `WebHdfsFileSystem` and `WebHdfsHandler`, akin to how 
`UserParam` is set today at these three places
    - Added setters/getters for custom pattern to `AclPermissionParam`
    - Added a new test for `AclPermissionParam` custom patterns that exercises 
numeric usernames and group names with `@` characters
    - Extended existing `UserParam` configurability tests to cover ACL 
modification with numeric usernames and group names with `@` characters over a 
custom pattern
    - Ran existing relevant tests, which continue to pass

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/QwertyManiac/hadoop HDFS-11421

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #195
commit f80343d972342033db7157dcf39a89bdb98ebf16
Author: Harsh J <ha...@cloudera.com>
Date:   2017-02-16T12:47:07Z

    HDFS-11421. Make WebHDFS' ACLs RegEx configurable. (harsh)


> Make WebHDFS' ACLs RegEx configurable
> -------------------------------------
>                 Key: HDFS-11421
>                 URL: https://issues.apache.org/jira/browse/HDFS-11421
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: webhdfs
>            Reporter: Harsh J
>            Assignee: Harsh J
> Part of HDFS-5608 added support for GET/SET ACLs over WebHDFS. This currently 
> identifies the passed arguments via a hard-coded regex that mandates certain 
> group and user naming styles.
> A similar limitation had existed before for CHOWN and other User/Group set 
> related operations of WebHDFS, where it was then made configurable via 
> HDFS-11391 + HDFS-4983.
> Such configurability should be allowed for the ACL operations too.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to