[
https://issues.apache.org/jira/browse/FLINK-12216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Metzger updated FLINK-12216:
-----------------------------------
Component/s: Runtime / Operators
Runtime / Network
> Respect the number of bytes from input parameters in HybridMemorySegment
> ------------------------------------------------------------------------
>
> Key: FLINK-12216
> URL: https://issues.apache.org/jira/browse/FLINK-12216
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Network, Runtime / Operators
> Reporter: Liya Fan
> Assignee: Liya Fan
> Priority: Critical
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> For the following two methods in HybridMemorySegment class,
> public final void get(int offset, ByteBuffer target, int numBytes)
> public final void put(int offset, ByteBuffer source, int numBytes)
> the actual number of bytes read/written should be specified by the input
> parameter numBytes, but it does not for some types of ByteBuffer. Instead, it
> simply read/write until the end.
> So this is a bug and I am going to fix it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)