Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-41246

When RddId exceeds Integer.Max_VALUE, RddId becomes negative

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.3.1
    • None
    • Spark Core
    • None

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            yorksity Qiang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: