hzw created SPARK-4033:
--------------------------
Summary: Input of the SparkPi too big causes the emption exception
Key: SPARK-4033
URL: https://issues.apache.org/jira/browse/SPARK-4033
Project: Spark
Issue Type: Bug
Components: Examples
Affects Versions: 1.2.0
Reporter: hzw
If input of the SparkPi args is larger than the 25000, the integer 'n' inside
the code will be overflow, and may be a negative number.
And it causes the (0 until n) Seq as an empty seq, then doing the action
'reduce' will throw the UnsupportedOperationException("empty collection").
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]