You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/08/02 08:13:53 UTC

[jira] [Commented] (HBASE-6950) TestAcidGuarantees system test now flushes too aggressively

    [ https://issues.apache.org/jira/browse/HBASE-6950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727386#comment-13727386 ] 

Hudson commented on HBASE-6950:
-------------------------------

SUCCESS: Integrated in HBase-0.94-security #240 (See [https://builds.apache.org/job/HBase-0.94-security/240/])
HBASE-9107 [0.94] Backport HBASE-6950 TestAcidGuarantees system test now flushes too aggressively to 0.94 (enis: rev 1509533)
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/TestAcidGuarantees.java

                
> TestAcidGuarantees system test now flushes too aggressively
> -----------------------------------------------------------
>
>                 Key: HBASE-6950
>                 URL: https://issues.apache.org/jira/browse/HBASE-6950
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.92.2, 0.94.2, 0.95.2
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>            Priority: Minor
>             Fix For: 0.95.0
>
>         Attachments: HBASE-6950.patch
>
>
> HBASE-6552 caused the TestAcidGuarantees system test to flush more aggressively, because flushes are where ACID problems have occurred in the past.
> After some more cluster testing, it seems like this too aggressive; my clusters eventually can't keep up with the number of flushes/compactions and start getting SocketTimeoutExceptions.  We could try to optimize the flushes/compactions, but since this workload would never occur in practice, I don't think it is worth the effort.  Instead, let's just only flush once a minute.  This is arbitrary, but seems to work.
> Here is my comment in the (upcoming) patch:
> {code}
> // Flushing has been a source of ACID violations previously (see HBASE-2856), so ideally,
> // we would flush as often as possible.  On a running cluster, this isn't practical:
> // (1) we will cause a lot of load due to all the flushing and compacting
> // (2) we cannot change the flushing/compacting related Configuration options to try to
> // alleviate this
> // (3) it is an unrealistic workload, since no one would actually flush that often.
> // Therefore, let's flush every minute to have more flushes than usual, but not overload
> // the running cluster.
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira