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

When the number of partitions is greater than 2^28, it will result in an error result

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.2.2, 2.3.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      In the `checkIndexAndDataFile`,the blocks is the  Int type,  when it is greater than 2^28, `blocks*8` will overflow, and this will result in an error result.
      In fact, `blocks` is actually the number of partitions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                10110346 liuxian
                Reporter:
                10110346 liuxian
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: