[ https://issues.apache.org/jira/browse/HDDS-1624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856202#comment-16856202 ]
Hudson commented on HDDS-1624: ------------------------------ SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16672 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/16672/]) HDDS-1624 : Refactor operations inside the bucket lock in OM key write. (bharat: rev 1a78794227167a1d14125d2385409390319529e4) * (edit) hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/RDBTable.java * (edit) hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/BlockManagerImpl.java * (edit) hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java * (edit) hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/db/TestTypedRDBTableStore.java * (edit) hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/Table.java * (edit) hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/TypedTable.java * (edit) hadoop-hdds/common/src/test/java/org/apache/hadoop/utils/db/TestRDBTableStore.java * (add) hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/UniqueId.java > Refactor operations inside the bucket lock in OM key write. > ----------------------------------------------------------- > > Key: HDDS-1624 > URL: https://issues.apache.org/jira/browse/HDDS-1624 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Manager > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Critical > Labels: pull-request-available > Fix For: 0.5.0 > > Time Spent: 4h 10m > Remaining Estimate: 0h > > There are a few steps that are done inside the OM bucket lock that are lock > invariant and can be done outside the lock. This patch refactors those steps. > It also adds an isExist API in the metadata store so that we dont need to > deserialize the byte[] to Object while doing a simple _table.get(key) != > null_ check. > On applying the patch, the OM + SCM (With dummy datanodes) write performance > improves by around 3 - 6x based on number of existing keys in the OM RocksDB. > Thanks to [~nandakumar131] who helped with this patch. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org