[ https://issues.apache.org/jira/browse/HDFS-13616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490012#comment-16490012 ]
Tsz Wo Nicholas Sze commented on HDFS-13616: -------------------------------------------- Thanks for filing the JIRA. I have a concern that the proposed batchedListStatusIterator is too restrictive since it only supports batch ls. Other operations such batch delete is also very useful. It seems better doing it via non-blocking APIs; see HDFS-9924. We may support batch non-blocking calls. Thought? > Batch listing of multiple directories > ------------------------------------- > > Key: HDFS-13616 > URL: https://issues.apache.org/jira/browse/HDFS-13616 > Project: Hadoop HDFS > Issue Type: New Feature > Affects Versions: 3.2.0 > Reporter: Andrew Wang > Assignee: Andrew Wang > Priority: Major > Attachments: HDFS-13616.001.patch > > > One of the dominant workloads for external metadata services is listing of > partition directories. This canĀ end up being bottlenecked on RTT time when > partition directories contain a small number of files. This is fairly common, > since fine-grained partitioning is used for partition pruning by the query > engines. > A batched listing API that takes multiple paths amortizes the RTT cost. > Initial benchmarks show a 10-20x improvement in metadata loading performance. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org