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

Use a compressed bitmap to track zero sized blocks in HighlyCompressedMapStatus

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • Shuffle, Spark Core

    Description

      HighlyCompressedMapStatus uses a single long to track the average block size. However, if a stage has a lot of zero sized outputs, this leads to inefficiency because executors would need to send requests to fetch zero sized blocks.

      We can use a compressed bitmap to track the zero-sized blocks.

      See discussion in https://github.com/apache/spark/pull/2470

      Attachments

        Issue Links

          Activity

            People

              joshrosen Josh Rosen
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: