hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7210) Chown command is not working from FSShell.
Date Mon, 28 Mar 2011 19:13:05 GMT

    [ 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

View raw message