[
https://issues.apache.org/jira/browse/HBASE-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834599#comment-13834599
]
ramkrishna.s.vasudevan commented on HBASE-10005:
------------------------------------------------
{code}
<testcase time="0.011"
classname="org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels"
name="testClearUserAuths">
<failure type="java.lang.AssertionError">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)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
{code}
Got this in the latest local test case run. One thing observed from the logs
is that there are no enough debug msgs.
{code}
2013-11-28 13:15:05,111 INFO [pool-1-thread-1] hbase.ResourceChecker(147):
before: security.visibility.TestVisibilityLabels#testClearUserAuths Thread=243,
OpenFileDescriptor=473, MaxFileDescriptor=327680, SystemLoadAverage=1204,
ProcessCount=367, AvailableMemoryMB=1914, ConnectionCount=3
2013-11-28 13:15:05,227 INFO [pool-1-thread-1] hbase.ResourceChecker(171):
after: security.visibility.TestVisibilityLabels#testClearUserAuths Thread=239
(was 243), OpenFileDescriptor=448 (was 473), MaxFileDescriptor=327680 (was
327680), SystemLoadAverage=1204 (was 1204), ProcessCount=367 (was 367),
AvailableMemoryMB=1861 (was 1914), ConnectionCount=3 (was 3)
2013-11-28 13:15:05,227 INFO [pool-1-thread-1] hbase.HBaseTestingUtility(943):
Shutting down minicluster
{code}
We have only these two lines related to that testcase. May be the notification
of the zk should be the issue.
> 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: HBASE-10005.patch,
> org.apache.hadoop.hbase.security.visibility.TestVisibilityLabels-output.txt
>
>
> 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#6144)