You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2020/10/03 18:14:00 UTC

[jira] [Resolved] (SPARK-33043) RowMatrix is incompatible with spark.driver.maxResultSize=0

     [ https://issues.apache.org/jira/browse/SPARK-33043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean R. Owen resolved SPARK-33043.
----------------------------------
    Fix Version/s: 3.0.2
                   3.1.0
       Resolution: Fixed

Issue resolved by pull request 29925
[https://github.com/apache/spark/pull/29925]

> RowMatrix is incompatible with spark.driver.maxResultSize=0
> -----------------------------------------------------------
>
>                 Key: SPARK-33043
>                 URL: https://issues.apache.org/jira/browse/SPARK-33043
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Karen Feng
>            Assignee: Sean R. Owen
>            Priority: Minor
>             Fix For: 3.1.0, 3.0.2
>
>
> RowMatrix does not work if spark.driver.maxResultSize=0, as this requirement breaks:
>  
> {code:java}
> require(maxDriverResultSizeInBytes > aggregatedObjectSizeInBytes,      s"Cannot aggregate object of size $aggregatedObjectSizeInBytes Bytes, "        + s"as it's bigger than maxResultSize ($maxDriverResultSizeInBytes Bytes)")
> {code}
>  
> [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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org