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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/09/27 09:39:00 UTC

[jira] [Commented] (HDFS-17632) RBF: Support listOpenFiles for routers

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

ASF GitHub Bot commented on HDFS-17632:
---------------------------------------

kokon191 opened a new pull request, #7075:
URL: https://github.com/apache/hadoop/pull/7075

   ### Description of PR
   
   Routers don't have support for `listOpenFiles` yet. Single destination paths are straightforward. Multi destination paths are joined; entries with inodeId > min(max(entry inodeIds)) are ignored to get a consistent prevId for the iterator.
   
   ### How was this patch tested?
   
   UTs.




> RBF: Support listOpenFiles for routers
> --------------------------------------
>
>                 Key: HDFS-17632
>                 URL: https://issues.apache.org/jira/browse/HDFS-17632
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Felix N
>            Assignee: Felix N
>            Priority: Major
>
> {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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org