GitHub user 10110346 opened a pull request:

    [SPARK-23358][CORE]When the number of partitions is greater than 2^28, it 
will result in an error result

    ## What changes were proposed in this pull request?
    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 
    In fact, `blocks` is actually the number of partitions.
    ## How was this patch tested?
    Manual test

You can merge this pull request into a Git repository by running:

    $ git pull overflow

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20544
commit 9ad0bfdc00373a9732338e17ca2dfa05b0c28cfb
Author: liuxian <liu.xian3@...>
Date:   2018-02-08T11:13:41Z




To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to