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

Shuffle batch fetch can't be disabled once it's enabled previously

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0, 3.1.0
    • 3.1.1
    • SQL
    • None

    Description

        if (SQLConf.get.fetchShuffleBlocksInBatch) {
          dependency.rdd.context.setLocalProperty(
            SortShuffleManager.FETCH_SHUFFLE_BLOCKS_IN_BATCH_ENABLED_KEY, "true")
        }
      

      The current code has a problem that once we set `fetchShuffleBlocksInBatch` to true first, we can never disable the batch fetch even if set `fetchShuffleBlocksInBatch` to false later.

       

      Attachments

        Activity

          People

            Ngone51 wuyi
            Ngone51 wuyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: