You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2019/10/09 06:06:00 UTC
[jira] [Created] (HDDS-2271) Avoid buffer copying in
KeyValueHandler
Tsz-wo Sze created HDDS-2271:
--------------------------------
Summary: Avoid buffer copying in KeyValueHandler
Key: HDDS-2271
URL: https://issues.apache.org/jira/browse/HDDS-2271
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
- In handleGetSmallFile, it first reads chunk data to a byte[] and the copy them to a ByteString.
- In handlePutBlock/handleGetBlock, in order to get the length, it (1) builds a ContainerProtos.BlockData and then copies it to a byte[].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org