You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Qiang Yang (Jira)" <ji...@apache.org> on 2022/11/24 04:24:00 UTC

[jira] [Created] (SPARK-41246) When RddId exceeds Integer.Max_VALUE, RddId becomes negative

Qiang Yang created SPARK-41246:
----------------------------------

             Summary: 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


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org