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

Increase spark.sql.codegen.hugeMethodLimit to 65535

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • SQL
    • None

    Description

      Still saw the performance regression introduced by `spark.sql.codegen.hugeMethodLimit` in our internal workloads. There are two major issues in the current solution.

      • The size of the complied byte code is not identical to the bytecode size of the method. The detection is still not accurate. 
      • The bytecode size of a single operator (e.g., `SerializeFromObject`) could still exceed 8K limit. We saw the performance regression in such scenario. 

      Since it is close to the release of 2.3, we decide to increase it to 64K for avoiding the perf regression.

      Attachments

        Activity

          People

            smilegator Xiao Li
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: