Shixiong Zhu created SPARK-12078:
------------------------------------
Summary: Fix ByteBuffer.limit misuse
Key: SPARK-12078
URL: https://issues.apache.org/jira/browse/SPARK-12078
Project: Spark
Issue Type: Bug
Components: Spark Core
Reporter: Shixiong Zhu
`ByteBuffer.limit` is not the remaining size of ByteBuffer. `ByteBuffer.limit`
is equal to `ByteBuffer.remaining` only if `ByteBuffer.position` is 0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]