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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment