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

RowMatrix is incompatible with spark.driver.maxResultSize=0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0, 3.0.1
    • 3.0.2, 3.1.0
    • MLlib
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: