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

SparkSQLOperationManager.getNextRowSet OOMs when a large maxRows is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.2
    • 1.1.0
    • SQL
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: