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

Estimated size in log message can overflow Int

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • Spark Core
    • None

    Description

      The log message from
      ```
                   logInfo(s"Started reading broadcast variable $id with $numBlocks pieces " +
                     s"(estimated total size $estimatedTotalSize)")

      ```
      multiples two ints to calculate `estimatedTotalSize` which will overflow when the broadcast exceeds 2Gib.

      Attachments

        Activity

          People

            eejbyfeldt Emil Ejbyfeldt
            eejbyfeldt Emil Ejbyfeldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: