You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Fengnan Li (Jira)" <ji...@apache.org> on 2022/02/25 19:06:00 UTC

[jira] [Created] (HDFS-16486) RBF: Don't override listing if there is a physical path from subcluster

Fengnan Li created HDFS-16486:
---------------------------------

             Summary: RBF: Don't override listing if there is a physical path from subcluster
                 Key: HDFS-16486
                 URL: https://issues.apache.org/jira/browse/HDFS-16486
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Fengnan Li
            Assignee: Fengnan Li


In getListing in RouterClientProtocol, currently router mount point would override the listing from subclusters. This will result in different HdfsFileStatus especially for owner/group permissions since Router mounts and the actual HDFS path are created from different user.

 

[https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterClientProtocol.java#L857]

 

To mitigate this discrepancy we can skip the mount point if there is already such a listing from subcluster.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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