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

RowMatrix is incompatible with spark.driver.maxResultSize=0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: 3.0.2, 3.1.0
    • Component/s: MLlib
    • Labels:
      None

      Description

      RowMatrix does not work if spark.driver.maxResultSize=0, as this requirement breaks:

       

      require(maxDriverResultSizeInBytes > aggregatedObjectSizeInBytes,      s"Cannot aggregate object of size $aggregatedObjectSizeInBytes Bytes, "        + s"as it's bigger than maxResultSize ($maxDriverResultSizeInBytes Bytes)")
      

       

      https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala#L795.

       

      This check should likely only happen if maxDriverResultSizeInBytes > 0.

        Attachments

          Activity

            People

            • Assignee:
              srowen Sean R. Owen
              Reporter:
              karenfeng Karen Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: