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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to