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

Duplicate and redundant type determination for ShuffleManager Object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.2.1
    • None
    • Shuffle, Spark Core, SQL
    • None

    Description

      org.apache.spark.sql.execution.exchange.ShuffleExchange

      In the "needtocopyobjectsbeforguffle()" function,there is a nested "if or else" branch .
      The <sortBasedShufffleOn> condition in the first layer "if" has the same value as the <bypassIsSupported> condition in the second layer "if", that is, <bypassIsSupported> must be true when <sortBasedShufffleOn> is true.
      In addition, the <byPassMergeThreshold> condition will be used in the second layer "if" and should not be calculated until needed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            zeratal Phoenix_Daddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: