You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/12/13 00:09:07 UTC
[jira] [Commented] (HBASE-10005) TestVisibilityLabels fails
occasionally
[ https://issues.apache.org/jira/browse/HBASE-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846876#comment-13846876 ]
Ted Yu commented on HBASE-10005:
--------------------------------
Clarification:
testAddVisibilityLabelsOnRSRestart fails when log replay is turned on.
I added some debug log:
{code}
2013-12-12 14:53:53,131 DEBUG [RpcServer.handler=2,port=58108] visibility.VisibilityController(1271): The list of auths are [system]
2013-12-12 14:53:53,133 DEBUG [RpcServer.handler=2,port=58108] visibility.VisibilityController(1046): Adding the label ABC
2013-12-12 14:53:53,133 DEBUG [RpcServer.handler=2,port=58108] visibility.VisibilityController(1046): Adding the label XYZ2013-12-12 14:53:53,137 ERROR [RpcServer.handler=2,port=58108] visibility.VisibilityController(1074): org.apache.hadoop.hbase.exceptions.RegionInRecoveryException: hbase:labels,,1386888826648.f14a399ba85cbb42c2c3b7547bf17c65. is recovering
2013-12-12 14:53:53,151 DEBUG [main] visibility.TestVisibilityLabels(405): response from addLabels: result {
exception {
name: "org.apache.hadoop.hbase.exceptions.RegionInRecoveryException"
value: "org.apache.hadoop.hbase.exceptions.RegionInRecoveryException: hbase:labels,,1386888826648.f14a399ba85cbb42c2c3b7547bf17c65. is recovering\n\tat org.apache.hadoop.hbase.regionserver.HRegion.startRegionOperation(HRegion.java:5555)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1763)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1749)\n\tat org.apache.hadoop.hbase.security.visibility.VisibilityController.getExistingLabelsWithAuths(VisibilityController.java:1096)\n\tat org.apache.hadoop.hbase.security.visibility.VisibilityController.postBatchMutate(VisibilityController.java:672)\n\tat org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postBatchMutate(RegionCoprocessorHost.java:1069)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:2401)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2087)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2037)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:2041)\n\tat org.apache.hadoop.hbase.security.visibility.VisibilityController.addLabels(VisibilityController.java:1059)\n\tat org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$VisibilityLabelsService$1.addLabels(VisibilityLabelsProtos.java:5014)\n\tat org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$VisibilityLabelsService.callMethod(VisibilityLabelsProtos.java:5178)\n\tat org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5357)\n\tat org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3275)\n\tat org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:28458)\n\tat org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2008)\n\tat org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:92)\n\tat org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)\n\tat org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)\n\tat org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)\n\tat java.lang.Thread.run(Thread.java:744)\n"
}
}
{code}
> TestVisibilityLabels fails occasionally
> ---------------------------------------
>
> Key: HBASE-10005
> URL: https://issues.apache.org/jira/browse/HBASE-10005
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.98.0
> Reporter: Ted Yu
> Assignee: Anoop Sam John
> Priority: Blocker
> Fix For: 0.98.0
>
> Attachments: 10005-TEST-org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.xml, 10005-org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.txt, HBASE-10005.patch, HBASE-10005_addendum.patch
>
>
> I got the following test failures running test suite on hadoop-2 where distributed log replay was turned on :
> {code}
> testAddVisibilityLabelsOnRSRestart(org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels) Time elapsed: 0.019 sec <<< FAILURE!
> java.lang.AssertionError: The count should be 8 expected:<8> but was:<6>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.testAddVisibilityLabelsOnRSRestart(TestVisibilityLabels.java:408)
> ...
> testClearUserAuths(org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels) Time elapsed: 0.002 sec <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertTrue(Assert.java:52)
> at org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels.testClearUserAuths(TestVisibilityLabels.java:505)
> {code}
> Logs to be attached
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)