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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 2.2.2, 2.3.0
    • Spark Core
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: