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

Ayush Saxena commented on HDFS-16017:
-------------------------------------

Nopes, We can't do that. The mount entry will get preference always, Because if 
we tend to read or access a directory the path will get resolved with respect 
to the mount table first, so the reason for overwriting is that we won't be 
able to access the directory overlapping with mount entry, that is why we 
overwrite it with the mount entry in listing as well. 

> RBF: The getListing method should not overwrite the Listings returned by the 
> NameNode
> -------------------------------------------------------------------------------------
>
>                 Key: HDFS-16017
>                 URL: https://issues.apache.org/jira/browse/HDFS-16017
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 3.3.1
>            Reporter: zhu
>            Priority: Major
>
> Regarding the getListing method, when the directory returned by NameNode is a 
> mount point in MountTable, the list returned by Namenode shall prevail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to