[
https://issues.apache.org/jira/browse/SPARK-25234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiangrui Meng resolved SPARK-25234.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3.2
2.4.0
Issue resolved by pull request 22225
[https://github.com/apache/spark/pull/22225]
> SparkR:::parallelize doesn't handle integer overflow properly
> -------------------------------------------------------------
>
> Key: SPARK-25234
> URL: https://issues.apache.org/jira/browse/SPARK-25234
> Project: Spark
> Issue Type: Story
> Components: SparkR
> Affects Versions: 2.3.1, 2.4.0
> Reporter: Xiangrui Meng
> Assignee: Xiangrui Meng
> Priority: Major
> Fix For: 2.4.0, 2.3.2
>
>
> parallelize uses integer multiplication, which cannot handle size over
> ~47000. This cause issues with lapply
>
> {code:java}
> SparkR:::parallelize(sc, 1:47000, 47000)
> Error in rep(start, end - start) : invalid 'times' argument
> Error in rep(start, end - start) : invalid 'times' argument
> In addition: Warning message:
> In x * length(coll) : NAs produced by integer overflow{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]