You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Hanisha Koneru (Jira)" <ji...@apache.org> on 2020/10/12 18:01:00 UTC
[jira] [Resolved] (HDDS-4220) BlockManagerImpl#getBlockByID does
unnecessary serialization
[ https://issues.apache.org/jira/browse/HDDS-4220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hanisha Koneru resolved HDDS-4220.
----------------------------------
Resolution: Fixed
> BlockManagerImpl#getBlockByID does unnecessary serialization
> ------------------------------------------------------------
>
> Key: HDDS-4220
> URL: https://issues.apache.org/jira/browse/HDDS-4220
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Ethan Rose
> Assignee: Ethan Rose
> Priority: Minor
> Labels: pull-request-available
>
> After HDDS-3869, tables in the datanode handle coding/decoding objects to/from RocksDB, and the caller no longer has to do this manually. As a result, the BlockManagerImpl#getBlockByID method should now return a BlockData type, instead of a byte array. In the current implementation, this method converts the block data into a byte array and returns it to the caller, who then converts the byte array back to block data in order to use it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org