Gera Shegalov created HDFS-5821:
-----------------------------------
Summary: TestHDFSCLI fails for user names with the dash character
Key: HDFS-5821
URL: https://issues.apache.org/jira/browse/HDFS-5821
Project: Hadoop HDFS
Issue Type: Bug
Components: test
Affects Versions: 2.2.0
Reporter: Gera Shegalov
testHDFSConf.xml uses regexes inconsistently to match the username from
{{[a-zA-z0-9]*}} to {{[a-z]*}}. This by far does not cover the space of
possible OS user names. For us, it fails for a user name containing a {{-}}.
Instead of keeping updating regex, we propose to use the macro USERNAME.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)