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

Daryn Sharp commented on HADOOP-7210:
-------------------------------------

The root problem is that a prior bug that remove the FileSystem var from the 
ctors.  This left two ctors with a String signature.  Changing one of the three 
commands to have a ctor of (String, String) just for the purpose of working 
around the ambiguity doesn't seem right.

My suggestion would be to split the user/group mode parsing into a separate 
parseOwnerGroup (or similar) method.  Chown's ctor calls this new method with 
its own impl, Chgrp overrides the method with it's own impl.

> Chown command is not working from FSShell.
> ------------------------------------------
>
>                 Key: HADOOP-7210
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7210
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>         Environment: Linux
>            Reporter: Uma Maheswara Rao G
>            Assignee: Uma Maheswara Rao G
>         Attachments: HADOOP-7210.patch
>
>
> chown command is not invoking the setOwner on FileSystem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to