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

SparkSQLOperationManager.getNextRowSet OOMs when a large maxRows is set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.1.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      SparkSQLOperationManager.getNextRowSet allocates an ArrayBuffer[Row] as large as maxRows, which can lead to OOM if maxRows is large, even if the actual size of the row set is much smaller.

        Attachments

          Activity

            People

            • Assignee:
              lian cheng Cheng Lian
              Reporter:
              lian cheng Cheng Lian
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: