You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/29 18:22:04 UTC
[jira] [Commented] (SPARK-9437) SizeEstimator overflows for
primitive arrays
[ https://issues.apache.org/jira/browse/SPARK-9437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646342#comment-14646342 ]
Apache Spark commented on SPARK-9437:
-------------------------------------
User 'squito' has created a pull request for this issue:
https://github.com/apache/spark/pull/7750
> SizeEstimator overflows for primitive arrays
> --------------------------------------------
>
> Key: SPARK-9437
> URL: https://issues.apache.org/jira/browse/SPARK-9437
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.4.1
> Reporter: Imran Rashid
> Assignee: Imran Rashid
> Priority: Minor
>
> {{SizeEstimator}} can overflow when dealing w/ large primitive arrays eg if you have an {{Array[Double]}} of size 1 << 28. This means that when you try to broadcast a large primitive array, you get:
> {noformat}
> java.lang.IllegalArgumentException: requirement failed: sizeInBytes was negative: -2147483608
> at scala.Predef$.require(Predef.scala:233)
> at org.apache.spark.storage.BlockInfo.markReady(BlockInfo.scala:55)
> at org.apache.spark.storage.BlockManager.doPut(BlockManager.scala:815)
> at org.apache.spark.storage.BlockManager.putIterator(BlockManager.scala:638)
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org