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

Íñigo Goiri edited comment on HDFS-14085 at 11/30/18 5:21 PM:
--------------------------------------------------------------

Yes, it is a little unfortunate and not sure if it's worth the travel.
One thing that could be cleaner is to have:
{code}
static class HdfsMountPointFileStatus extends HdfsFileStatus {
  HdfsMountPointFileStatus(HdfsFileStatus fileStatus, int numChildren) {
    // builder
  }
}
{code}
Anyway, if it ends up doing too much, I'm fine with  
[^HDFS-14085-HDFS-13891-06.patch].


was (Author: elgoiri):
Yes, it is a little unfortunate and not sure if it's worth the travel.
One thing that could be cleaner is to have:
{code}
static class HdfsMountPointFileStatus extends HdfsFileStatus {
  HdfsMountPointFileStatus(HdfsFileStatus fileStatus, int numChildren) {
    // builder
  }
}
{code}
Anyway, if it ends up doing too much, I'm fine with this.

> 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, 
> HDFS-14085-HDFS-13891-04.patch, HDFS-14085-HDFS-13891-05.patch, 
> HDFS-14085-HDFS-13891-06.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to