You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2020/09/08 20:52:00 UTC

[jira] [Created] (HDDS-4220) BlockManagerImpl#getBlockByID does unnecessary serialization

Ethan Rose created HDDS-4220:
--------------------------------

             Summary: 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


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