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: [email protected]
For additional commands, e-mail: [email protected]