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

Batch listing of multiple directories

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: