[
https://issues.apache.org/jira/browse/SPARK-12078?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shixiong Zhu resolved SPARK-12078.
----------------------------------
Resolution: Won't Fix
For now, we can assume position is 0
> 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]