hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11391) Numeric usernames do no work with WebHDFS FS (write access)
Date Sun, 05 Feb 2017 17:48:42 GMT

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

Yongjun Zhang commented on HDFS-11391:
--------------------------------------

Hi [~pvillard],

Thanks for reporting the issue and patch. The patch looks good except line 114 is too long
(expecte to be <= 80 chars).
{code}
    UserParam.setUserPattern(
        conf.get(DFSConfigKeys.DFS_WEBHDFS_USER_PATTERN_KEY,
            DFSConfigKeys.DFS_WEBHDFS_USER_PATTERN_DEFAULT));
{code}
BTW, would you please share what test you have done?

Thanks.


> Numeric usernames do no work with WebHDFS FS (write access)
> -----------------------------------------------------------
>
>                 Key: HDFS-11391
>                 URL: https://issues.apache.org/jira/browse/HDFS-11391
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>    Affects Versions: 2.7.3
>            Reporter: Pierre Villard
>
> In HDFS-4983, a property has been introduced to configure the pattern validating name
of users interacting with WebHDFS because default pattern was excluding names starting with
numbers.
> Problem is that this fix works only for read access. In case of write access against
data node, the default pattern is still applied whatever the configuration is.



--
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