[ https://issues.apache.org/jira/browse/HBASE-15158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15125890#comment-15125890 ]
Hudson commented on HBASE-15158: -------------------------------- FAILURE: Integrated in HBase-Trunk_matrix #672 (See [https://builds.apache.org/job/HBase-Trunk_matrix/672/]) HBASE-15158 HBASE-15158 Preamble 1 of 2: fix findbugs, add javadoc, (stack: rev 2cc48e039d1f800832ac8880bbc820982e0ac8a5) * hbase-examples/src/main/java/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java * hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java * hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java * hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestCoprocessorScanPolicy.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreScanner.java * hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java * hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/NoOpScanPolicyObserver.java * hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java * hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/CellCounter.java * hbase-client/src/main/java/org/apache/hadoop/hbase/client/Scan.java * hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java * hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RowProcessor.java * hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java * hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsckOneRS.java * hbase-server/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java * hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/KeyValueScanner.java * hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Region.java * hbase-common/src/main/java/org/apache/hadoop/hbase/TagUtil.java > Change order in which we do write pipeline operations; do all under row locks! > ------------------------------------------------------------------------------ > > Key: HBASE-15158 > URL: https://issues.apache.org/jira/browse/HBASE-15158 > Project: HBase > Issue Type: Sub-task > Components: Performance > Reporter: stack > Assignee: stack > Fix For: 2.0.0 > > Attachments: 15158.patch, 15158v2.patch > > > Change how we do our write pipeline. I want to do all write pipeline ops > under row lock so I lean on this fact fixing performance regression in > check-and-set type operations like increment, append, and checkAnd* (see > sibling issue HBASE-15082). > To be specific, we write like this now: > {code} > # take rowlock > # start mvcc > # append to WAL > # add to memstore > # let go of rowlock > # sync WAL > # in case of error: rollback memstore > {code} > Instead, write like this: > {code} > # take rowlock > # start mvcc > # append to WAL > # sync WAL > # add to memstore > # let go of rowlock > ... no need to do rollback. > {code} > The old ordering was put in place because it got better performance in a time > when WAL was different and before row locks were read/write (HBASE-12751). > Testing in branch-1 shows that a reordering and skipping mvcc waits gets us > back to the performance we had before we unified mvcc and sequenceid > (HBASE-8763). Tests in HBASE-15046 show that at the macro level using our > usual perf tools, reordering pipeline seems to cause no slowdown (see > HBASE-15046). A rough compare of increments with reordered write pipeline > seems to have us getting back a bunch of our performance (see tail of > https://issues.apache.org/jira/browse/HBASE-15082?focusedCommentId=15111703&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15111703 > and subsequent comment). -- This message was sent by Atlassian JIRA (v6.3.4#6332)