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

Íñigo Goiri commented on HDFS-14085:
------------------------------------

[^HDFS-14085-HDFS-13891-03.patch] LGTM.
A minor nit; instead of:
{code}
    assertTrue(finfo.getOwner().equals("owner1")
        && finfo1[0].getOwner().equals("owner1"));
    assertTrue(finfo.getGroup().equals("group1")
        && finfo1[0].getGroup().equals("group1"));
{code}
I would do:
{code}
    assertEquals(finfo.getOwner(), "owner1")
    assertEquals(finfo1[0].getOwner(), "owner1");
    assertEquals(finfo.getGroup(), ("group1")
    assertEquals(finfo1[0].getGroup(), "group1");
{code}

> RBF: LS command for root shows wrong owner and permission information.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-14085
>                 URL: https://issues.apache.org/jira/browse/HDFS-14085
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-14085-HDFS-13891-01.patch, 
> HDFS-14085-HDFS-13891-02.patch, HDFS-14085-HDFS-13891-03.patch
>
>
> The LS command for / lists all the mount entries but the permission displayed 
> is the default permission (777) and the owner and group info same as that of 
> the user calling it; Which actually should be the same as that of the 
> destination of the mount point.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to