[
https://issues.apache.org/jira/browse/HADOOP-12685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081069#comment-15081069
]
Kai Zheng commented on HADOOP-12685:
------------------------------------
Thanks Rui for the fix. Some comments:
1. We need to update the Javadoc for the APIs about the refined behavior.
2. The post check and fix in the abstract layer to ensure the input buffers'
positions to be updated is a way, the other that could be better is to require
the concrete raw coders to do that after they consumed the input data as they
should.
> Input buffer position after encode/decode not consistent between different
> kinds of buffers
> -------------------------------------------------------------------------------------------
>
> Key: HADOOP-12685
> URL: https://issues.apache.org/jira/browse/HADOOP-12685
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Rui Li
> Assignee: Rui Li
> Priority: Minor
> Attachments: HADOOP-12685.1.patch
>
>
> As reported by [~jack_liuquan] in this
> [comment|https://issues.apache.org/jira/browse/HADOOP-11828?focusedCommentId=15071796&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15071796],
> the input buffer position change behavior is not consistent between direct
> and non-direct buffers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)