[ 
https://issues.apache.org/jira/browse/HADOOP-15146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891656#comment-17891656
 ] 

Qinghui Xu commented on HADOOP-15146:
-------------------------------------

Hey [[email protected]], thanks for your reply.

My point is that such "unused" code may exist for some reason, in this case, 
it's for some symmetry of the codebase on IO part. Especially when the code 
wants to test something that involves `DataInput`, it likely also wants to 
involve `DataOutput`, thus it's handy to have `DataInputByteBuffer` along side 
of `DataOutputByteBuffer`.

In my case I think what JDK provides is good enough as a replacement.

> Remove DataOutputByteBuffer
> ---------------------------
>
>                 Key: HADOOP-15146
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15146
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 3.0.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 3.2.0
>
>         Attachments: HADOOP-15146.1.patch, HADOOP-15146.2.patch, 
> HADOOP-15146.3.patch, HADOOP-15146.4.patch, HADOOP-15146.5.patch
>
>
> I can't seem to find any references to {{DataOutputByteBuffer}} maybe it 
> should be deprecated or simply removed?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to