Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13616

Batch listing of multiple directories

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. HDFS-13616.002.patch
          68 kB
          Andrew Wang
        2. HDFS-13616.001.patch
          60 kB
          Andrew Wang
        3. BenchmarkListFiles.java
          5 kB
          Andrew Wang

          Issue Links

            Activity

              People

              • Assignee:
                csun Chao Sun
                Reporter:
                andrew.wang Andrew Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: