Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10340

Use S3 bulk listing for S3-backed Hive tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.4.1, 1.5.0
    • None
    • SQL
    • None

    Description

      AWS S3 provides bulk listing API. It takes the common prefix of all input paths as a parameter and returns all the objects whose prefixes start with the common prefix in blocks of 1000.

      Since SPARK-9926 allow us to list multiple partitions all together, we can significantly speed up input split calculation using S3 bulk listing. This optimization is particularly useful for queries like select * from partitioned_table limit 10.

      This is a common optimization for S3. For eg, here is a blog post from Qubole on this topic.

      Attachments

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: