You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Gera Shegalov (JIRA)" <ji...@apache.org> on 2014/01/31 20:40:36 UTC

[jira] [Resolved] (HDFS-5819) TestHDFSCLI fails for a user name with dash

     [ https://issues.apache.org/jira/browse/HDFS-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gera Shegalov resolved HDFS-5819.
---------------------------------

    Resolution: Duplicate

ASF JIRA was flaky and created duplicates while reporting an error to the frontend.

> TestHDFSCLI fails for a user name with dash
> -------------------------------------------
>
>                 Key: HDFS-5819
>                 URL: https://issues.apache.org/jira/browse/HDFS-5819
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.2.0
>            Reporter: Gera Shegalov
>
> testHDFSConf.xml uses a regex to describe username. Regexes are used incosistently from {code}[a-zA-z0-9]*{code} to {code}[a-z]*{code}. Clearly OS are less restrictive than that, and for us specifically the test fails for a build user having a {{-}}. So instead of keeping updating regex, I propose to replace it with the macro USERNAME.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)