hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Mitic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8456) Support spaces in user names and group names in results returned via winutils
Date Thu, 01 Nov 2012 07:13:12 GMT

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

Ivan Mitic commented on HADOOP-8456:
------------------------------------

bq. In other words, we should implement 'expected behavior' not necessarily what is convenient
if there is a collision. (But convenience can always be provided via an option...) So if cygwin/sua
show with spaces by default, that's what we should do. If they provide an option that puts
separators in place, that's what we should. Consistency is key for (inter)operability.
Thanks Allen for commenting. We have generally tried to keep the consistency for expected
behavior. For example, {{winutils ls}} will by default use the same format as Cygwin {{ls}}
(with spaces). Given that this does not work for all cases on Windows, we introduced a flag
that gives us the functionality we need. I honestly tried to find an existing flag when I
first implemented this, but couldn't find one. It is totally possible that I missed it, please
let me know if this is the case.
                
> Support spaces in user names and group names in results returned via winutils
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-8456
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8456
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 1-win
>            Reporter: Chuan Liu
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8456.branch-1-win.spaces.2.patch, HADOOP-8456.branch-1-win.spaces.patch
>
>
> When parsing results returned by ‘ls’, we made implicit assumption that user and
group names cannot contain spaces. On Linux, spaces are not allowed in user names and group
names. This is not the case for Windows. We need to find a way to fix the problem for Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message