hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5821) TestHDFSCLI fails for user names with the dash character
Date Fri, 28 Feb 2014 21:14:20 GMT

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

Arpit Agarwal updated HDFS-5821:
--------------------------------

          Resolution: Fixed
       Fix Version/s: 2.4.0
                      3.0.0
            Assignee: Gera Shegalov
    Target Version/s: 2.4.0
        Hadoop Flags: Reviewed
              Status: Resolved  (was: Patch Available)

Thanks I missed that block was commented out.

+1 for the patch. I committed it to trunk through branch-2.4. Thanks for the contribution
[~jira.shegalov].

> 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
>            Assignee: Gera Shegalov
>             Fix For: 3.0.0, 2.4.0
>
>         Attachments: HDFS-5821-trunk.v01.patch
>
>
> testHDFSConf.xml uses regexes inconsistently to match the username from {code}[a-zA-z0-9]*{code}
to {code}[a-z]*{code}. This by far does not cover the space of possible OS user names.  For
us, it fails for a user name containing {{'-'}}. Instead of keeping updating regex, we propose
to use the macro USERNAME.



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

Mime
View raw message