Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
The following comment of ByteBufferReadable#read seems not correct, actually, the position of buf should be updated:
After a successful call, buf.position() and buf.limit() should be - * unchanged, and therefore any data can be immediately read from buf. - * buf.mark() may be cleared or updated.
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-11039 ByteBufferReadable API doc is inconsistent with the implementations.
- Closed