[ https://issues.apache.org/jira/browse/SPARK-41246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Qiang Yang updated SPARK-41246: ------------------------------- Description: 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 was: 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 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 > > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org