hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7343) Fix flaky condition for TestDrainingServer
Date Thu, 13 Dec 2012 00:35:21 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Himanshu Vashishtha updated HBASE-7343:
---------------------------------------

    Description: 
The assert statement in setUpBeforeClass() may fail in case the region distribution is not
even (a particular rs has 0 regions).

{code}
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:48)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertFalse(Assert.java:34)
	at junit.framework.Assert.assertFalse(Assert.java:41)
	at org.apache.hadoop.hbase.TestDrainingServer.setUpBeforeClass(TestDrainingServer.java:83)

{code}

This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses 5877,
this jira fixes that issue instead of backporting 5992.

  was:
The assert statement in setUpBeforeClass() may fail in case the region distribution is not
even (a particular rs has 0 regions).

This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses 5877,
this jira fixes that issue instead of backporting 5992.

    
> Fix flaky condition for TestDrainingServer
> ------------------------------------------
>
>                 Key: HBASE-7343
>                 URL: https://issues.apache.org/jira/browse/HBASE-7343
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.94.3
>            Reporter: Himanshu Vashishtha
>            Priority: Minor
>         Attachments: HBASE-7343.patch
>
>
> The assert statement in setUpBeforeClass() may fail in case the region distribution is
not even (a particular rs has 0 regions).
> {code}
> junit.framework.AssertionFailedError
> 	at junit.framework.Assert.fail(Assert.java:48)
> 	at junit.framework.Assert.assertTrue(Assert.java:20)
> 	at junit.framework.Assert.assertFalse(Assert.java:34)
> 	at junit.framework.Assert.assertFalse(Assert.java:41)
> 	at org.apache.hadoop.hbase.TestDrainingServer.setUpBeforeClass(TestDrainingServer.java:83)
> {code}
> This is already fixed in trunk with HBASE-5992, but as that's a bigger change and uses
5877, this jira fixes that issue instead of backporting 5992.

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

Mime
View raw message