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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org