GitHub user zsxwing opened a pull request:

    https://github.com/apache/spark/pull/20461

    [SPARK-23289][CORE]OneForOneBlockFetcher.DownloadCallback.onData should 
write the bufer fully

    ## What changes were proposed in this pull request?
    
    `channel.write(buf)` may not write the whole buffer since the underlying 
channel is a FileChannel, we should retry until the whole buffer is written.
    
    ## How was this patch tested?
    
    Jenkins

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

    $ git pull https://github.com/zsxwing/spark SPARK-23289

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

    https://github.com/apache/spark/pull/20461.patch

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

    This closes #20461
    
----
commit c186a6b489fd0233449692dd80d0cae6452905bb
Author: Shixiong Zhu <zsxwing@...>
Date:   2018-01-31T21:56:15Z

    OneForOneBlockFetcher.DownloadCallback.onData write fully

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to