[
https://issues.apache.org/jira/browse/HDFS-5818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gera Shegalov resolved HDFS-5818.
---------------------------------
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-5818
> URL: https://issues.apache.org/jira/browse/HDFS-5818
> 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)