GitHub user witgo opened a pull request:
https://github.com/apache/spark/pull/14647
[WIP][Test only][SPARK-6235]Address various 2G limits
## What changes were proposed in this pull request?
The main changes.
1. Replace DiskStore method `def getBytes (blockId: BlockId):
ChunkedByteBuffer` to `def getBlockData(blockId: BlockId): ManagedBuffer` .
2. ManagedBuffer's nioByteBuffer method return ChunkedByteBuffer.
3. Add class `ChunkFetchInputStream`, used for flow control
4. Move class `ChunkedByteBuffer`, `ChunkedByteBufferInputStream` and
`ChunkedByteBufferOutputStream` to
`common/network-common/src/main/java/org/apache/spark/network/buffer/`
5. Replace `ByteBuffer` with `ChunkedByteBuffer`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/witgo/spark SPARK-6235_demo
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14647.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 #14647
----
commit dc9ffd6086ab6cffc90171676b9186f23df185f8
Author: GuoQiang Li <[email protected]>
Date: 2016-08-15T14:03:18Z
Address various 2G limits
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]