hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11421) Make WebHDFS' ACLs RegEx configurable
Date Thu, 16 Feb 2017 12:58:41 GMT

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

ASF GitHub Bot commented on HDFS-11421:
---------------------------------------

GitHub user QwertyManiac opened a pull request:

    https://github.com/apache/hadoop/pull/195

    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:

    https://github.com/apache/hadoop/pull/195.patch

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 <harsh@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
(v6.3.15#6346)

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


Mime
View raw message