[
https://issues.apache.org/jira/browse/HDFS-17632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039803#comment-18039803
]
ASF GitHub Bot commented on HDFS-17632:
---------------------------------------
kokonguyen191 commented on PR #8072:
URL: https://github.com/apache/hadoop/pull/8072#issuecomment-3562257603
> does the output gives path wrt router mount points or the actual paths in
the namespace, like /mnt mounts ns1 /dir/subdir1 so a file /dir/subdir1/file1
should be shown as /mnt1/file1 when doing getOpenFiles via router
@ayushtkn Thanks for the review! I have updated the implementation to return
the mount source path instead of the actual paths
> RBF: Support listOpenFiles for routers
> --------------------------------------
>
> Key: HDFS-17632
> URL: https://issues.apache.org/jira/browse/HDFS-17632
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs, rbf
> Reporter: Felix N
> Assignee: Felix N
> Priority: Major
> Labels: pull-request-available
>
> {code:java}
> @Override
> public BatchedEntries<OpenFileEntry> listOpenFiles(long prevId,
> EnumSet<OpenFilesIterator.OpenFilesType> openFilesTypes, String path)
> throws IOException {
> rpcServer.checkOperation(NameNode.OperationCategory.READ, false);
> return null;
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]