You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/11/07 15:21:00 UTC
[jira] [Commented] (HDDS-2274) Avoid buffer copying in Codec
[ https://issues.apache.org/jira/browse/HDDS-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969345#comment-16969345 ]
Attila Doroszlai commented on HDDS-2274:
----------------------------------------
Hi [~szetszwo], can you please clarify the idea of how this could be improved? As far as I see, we need to convert to {{byte[]}} anyway, to store data in RocksDB.
> Avoid buffer copying in Codec
> -----------------------------
>
> Key: HDDS-2274
> URL: https://issues.apache.org/jira/browse/HDDS-2274
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Tsz-wo Sze
> Assignee: Attila Doroszlai
> Priority: Major
>
> Codec declares byte[] as a parameter in fromPersistedFormat(..) and a return type in toPersistedFormat(..). It leads to buffer copying when using it with ByteString.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org