[
https://issues.apache.org/jira/browse/SPARK-41246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-41246.
---------------------------------
Fix Version/s: 4.4.0
Resolution: Fixed
Issue resolved by pull request 57893
[https://github.com/apache/spark/pull/57893]
> When RddId exceeds Integer.Max_VALUE, RddId becomes negative
> ------------------------------------------------------------
>
> Key: SPARK-41246
> URL: https://issues.apache.org/jira/browse/SPARK-41246
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 3.3.1
> Reporter: Qiang Yang
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.4.0
>
>
> The incrementAndGet method of AtomicInteger keeps increasing. When
> AtomicInteger increases to 2147483647 (Integer. MAX_VALUE) and then adds one,
> the value of AtomicInteger will become negative - 2147483648 (Integer.
> MIN_VALUE).
> This problem occurs in long running tasks, such as stream tasks.
> When BlockManager generates BlockId, BlockId only supports positive rddid, so
> BlockId generation fails
> object BlockId {
> val RDD = "rdd_([0-9]+)_([0-9]+)".r
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]