spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-9437) SizeEstimator overflows for primitive arrays
Date Wed, 29 Jul 2015 16:22:04 GMT

    [ 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


Mime
View raw message