Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8D674200D45 for ; Thu, 23 Nov 2017 12:26:07 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8BFEA160C10; Thu, 23 Nov 2017 11:26:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D14BF160BEF for ; Thu, 23 Nov 2017 12:26:06 +0100 (CET) Received: (qmail 65713 invoked by uid 500); 23 Nov 2017 11:26:06 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 65702 invoked by uid 99); 23 Nov 2017 11:26:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Nov 2017 11:26:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id F01431A0E5C for ; Thu, 23 Nov 2017 11:26:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VnHlENj2yK58 for ; Thu, 23 Nov 2017 11:26:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 3E9065FB8D for ; Thu, 23 Nov 2017 11:26:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 684B1E041F for ; Thu, 23 Nov 2017 11:26:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 35F4E241A2 for ; Thu, 23 Nov 2017 11:26:01 +0000 (UTC) Date: Thu, 23 Nov 2017 11:26:01 +0000 (UTC) From: "Chia-Ping Tsai (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-19266) TestAcidGuarantees should cover adaptive in-memory compaction MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Nov 2017 11:26:07 -0000 [ https://issues.apache.org/jira/browse/HBASE-19266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16264204#comment-16264204 ] Chia-Ping Tsai commented on HBASE-19266: ---------------------------------------- bq. The above occurred multiple times during a run with EAGER policy. It would not cause the region server to shutdown. The error I mentioned is shown below. {quote} 2017-11-22 17:24:53,493 FATAL [RS_CLOSE_REGION-asf911:51862-0] regionserver.HRegionServer(2376): ***** ABORTING region server asf911.gq1.ygridcore.net,51862,1511371099686: Assertion failed while closing store TestAcidGuarantees,,1511371469395.68d2d57885546cb47faa7361cbbbcca7. A. flushableSize expected=0, actual= dataSize=2290 , heapSize=7008. Current memstoreSize=-34350. Maybe a coprocessor operation failed and left the memstore in a partially updated state. ***** 2017-11-22 17:24:53,493 FATAL [RS_CLOSE_REGION-asf911:51862-0] regionserver.HRegionServer(2382): RegionServer abort: loaded coprocessors are: [org.apache.hadoop.hbase.coprocessor.MultiRowMutationEndpoint] 2017-11-22 17:24:53,557 INFO [RS_CLOSE_REGION-asf911:51862-0] regionserver.HRegionServer(2386): Dump of metrics as JSON on abort: { {quote} The detail log is [here|https://builds.apache.org/job/HBASE-Flaky-Tests/23491/artifact/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.TestAcidGuarantees-output.txt/*view*/]. The code about aborting the rs is shown below. {code:title=HRegion.class} for (HStore store : stores.values()) { MemStoreSize flushableSize = store.getFlushableSize(); if (!(abort || flushableSize.getDataSize() == 0 || writestate.readOnly)) { if (getRegionServerServices() != null) { getRegionServerServices().abort("Assertion failed while closing store " + getRegionInfo().getRegionNameAsString() + " " + store + ". flushableSize expected=0, actual= " + flushableSize + ". Current memstoreSize=" + getMemStoreSize() + ". Maybe a coprocessor " + "operation failed and left the memstore in a partially updated state.", null); } } {code} bq. TestAcidGuaranteesWithBasicPoli didn't finish in the QA run. I have ran TestAcidGuaranteesWithBasicPolicy 50 times, and I don't encounter the hang...Let me try the v2 patch (asap) {quote} w.r.t. 'memstoreSize to a negative value' error, the first occurrence is in TestAcidGuarantees#testMixedAtomicity However, if I run the subtest alone, it passes with EAGER policy. {quote} It seems the error happens by chance. I will dig in after committing this issue. > TestAcidGuarantees should cover adaptive in-memory compaction > ------------------------------------------------------------- > > Key: HBASE-19266 > URL: https://issues.apache.org/jira/browse/HBASE-19266 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Assignee: Chia-Ping Tsai > Priority: Minor > Attachments: HBASE-19266.v0.patch > > > Currently TestAcidGuarantees populates 3 policies of (in-memory) compaction. > Adaptive in-memory compaction is new and should be added as 4th compaction policy. -- This message was sent by Atlassian JIRA (v6.4.14#64029)