hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-8991) TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS failed again
Date Thu, 18 Jul 2013 21:58:51 GMT

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

Jimmy Xiang edited comment on HBASE-8991 at 7/18/13 9:58 PM:
-------------------------------------------------------------

Attached a patch which checks if any region is still in transition (in the region server side)
before getting the online region list.  If there is a region in transition, it means the region
hasn't been moved to the online region set yet after the znode is moved to OPEN.  If that's
the case, that explains why this test is rare to fail.
                
      was (Author: jxiang):
    Attached a patch which checks if any region is still in transition before getting the
online region list.  If there is a region in transition, it means the region hasn't been moved
to the online region set yet after the znode is moved to OPEN.  If that's the case, that explains
why this test is rare to fail.
                  
> TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS failed again
> -----------------------------------------------------------------------
>
>                 Key: HBASE-8991
>                 URL: https://issues.apache.org/jira/browse/HBASE-8991
>             Project: HBase
>          Issue Type: Test
>    Affects Versions: 0.98.0, 0.95.2
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>         Attachments: trunk-8991.patch
>
>
> It failed again http://54.241.6.143/job/HBase-0.95-Hadoop-2/org.apache.hbase$hbase-server/645/testReport/junit/org.apache.hadoop.hbase.master/TestMasterFailover/testMasterFailoverWithMockedRITOnDeadRS/
> {noformat}
> Stacktrace
> java.lang.AssertionError: region=enabledTable,e\xDC\xB4,1374137106469.efad8aaaf052f839fdbf5abc2e04af4c.,
[{ENCODED => 1028785192, NAME => '.META.,,1', STARTKEY => '', ENDKEY => ''}, {ENCODED
=> 1e14e83d175bb4dc82a6eac427b0397c, NAME => 'disabledTable,,1374137107108.1e14e83d175bb4dc82a6eac427b0397c.',
STARTKEY => '', ENDKEY => 'aaa'}, {ENCODED => 2ce3188d9e655c74aeed8627699d198b, NAME
=> 'disabledTable,aaa,1374137107131.2ce3188d9e655c74aeed8627699d198b.', STARTKEY =>
'aaa', ENDKEY => 'bF\xD8'}, {ENCODED => a87139be050d4e945fc4523cf2bd1467, NAME =>
'disabledTable,bF\xD8,1374137107163.a87139be050d4e945fc4523cf2bd1467.', STARTKEY => 'bF\xD8',
ENDKEY => 'c,O'}, {ENCODED => 822ce4ce69d81d4e1d6e5e8200887240, NAME => 'disabledTable,c,O,1374137107170.822ce4ce69d81d4e1d6e5e8200887240.',
STARTKEY => 'c,O', ENDKEY => 'd\x11\xC6'}, {ENCODED => ad4209578ff51f67e975135f23b7ac13,
NAME => 'disabledTable,d\x11\xC6,1374137107176.ad4209578ff51f67e975135f23b7ac13.', STARTKEY
=> 'd\x11\xC6', ENDKEY => 'd\xF7='}, {ENCODED => 20c540d9d7213cf8dbf4b4b90007e7ad,
NAME => 'disabledTable,d\xF7=,1374137107182.20c540d9d7213cf8dbf4b4b90007e7ad.', STARTKEY
=> 'd\xF7=', ENDKEY => 'e\xDC\xB4'}, {ENCODED => 04d860ad0b8e0ae5a0147a6bccea46f4,
NAME => 'enabledTable,,1374137106279.04d860ad0b8e0ae5a0147a6bccea46f4.', STARTKEY =>
'', ENDKEY => 'aaa'}, {ENCODED => b5486e3cf48aa50ca1cba30d0d6ab662, NAME => 'enabledTable,aaa,1374137106428.b5486e3cf48aa50ca1cba30d0d6ab662.',
STARTKEY => 'aaa', ENDKEY => 'bF\xD8'}, {ENCODED => c11af1f6d1aa422916caf6e6ac17eeeb,
NAME => 'enabledTable,bF\xD8,1374137106437.c11af1f6d1aa422916caf6e6ac17eeeb.', STARTKEY
=> 'bF\xD8', ENDKEY => 'c,O'}, {ENCODED => 5e4dffd62115d6745b589e40136179c7, NAME
=> 'enabledTable,c,O,1374137106444.5e4dffd62115d6745b589e40136179c7.', STARTKEY => 'c,O',
ENDKEY => 'd\x11\xC6'}, {ENCODED => 0a7dc5f03fa7db89e2ed3aa7512bc6cd, NAME => 'enabledTable,d\x11\xC6,1374137106455.0a7dc5f03fa7db89e2ed3aa7512bc6cd.',
STARTKEY => 'd\x11\xC6', ENDKEY => 'd\xF7='}, {ENCODED => 8f406facf525870443e93345a3172fbb,
NAME => 'enabledTable,d\xF7=,1374137106463.8f406facf525870443e93345a3172fbb.', STARTKEY
=> 'd\xF7=', ENDKEY => 'e\xDC\xB4'}, {ENCODED => 9daab73408eb240c4780493b6661eb7b,
NAME => 'enabledTable,f\xC2+,1374137106475.9daab73408eb240c4780493b6661eb7b.', STARTKEY
=> 'f\xC2+', ENDKEY => 'g\xA7\xA2'}, {ENCODED => 47911855a8362112a57c3767d6864ced,
NAME => 'enabledTable,g\xA7\xA2,1374137106482.47911855a8362112a57c3767d6864ced.', STARTKEY
=> 'g\xA7\xA2', ENDKEY => 'h\x8D\x19'}, {ENCODED => e6c71e364bfc9766c1336c9c912b9466,
NAME => 'enabledTable,h\x8D\x19,1374137106488.e6c71e364bfc9766c1336c9c912b9466.', STARTKEY
=> 'h\x8D\x19', ENDKEY => 'ir\x90'}, {ENCODED => 63ae8de95f8149c04a18c90ac0ba99db,
NAME => 'enabledTable,ir\x90,1374137106494.63ae8de95f8149c04a18c90ac0ba99db.', STARTKEY
=> 'ir\x90', ENDKEY => 'jX\x07'}, {ENCODED => f477cc9a5378ef9ac464c5ffccf5d295, NAME
=> 'enabledTable,jX\x07,1374137106500.f477cc9a5378ef9ac464c5ffccf5d295.', STARTKEY =>
'jX\x07', ENDKEY => 'k=~'}, {ENCODED => d366f300dffeae98f6c0ace8222dc3e4, NAME =>
'enabledTable,k=~,1374137106506.d366f300dffeae98f6c0ace8222dc3e4.', STARTKEY => 'k=~',
ENDKEY => 'l"\xF5'}, {ENCODED => ca8b5a676edb14a42bf80de8c6eb2f84, NAME => 'enabledTable,m\x08l,1374137106518.ca8b5a676edb14a42bf80de8c6eb2f84.',
STARTKEY => 'm\x08l', ENDKEY => 'm\xED\xE3'}]
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.hadoop.hbase.master.TestMasterFailover.testMasterFailoverWithMockedRITOnDeadRS(TestMasterFailover.java:815)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> 	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
> {noformat}

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