[ https://issues.apache.org/jira/browse/HBASE-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834981#comment-13834981 ]
Ted Yu commented on HBASE-10005: -------------------------------- There seems to be some misspelled method names: {code} List<String> labels = getUserAuthsFromLablesTable(user); private List<String> getUserAuthsFromLablesTable(byte[] user) throws IOException { List<String> currentAuths = this.getUserAuthsFromLablesTable(user); hbase-server//src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java public void testLablesWithCheckAndPut() throws Throwable { public void testLablesWithIncrement() throws Throwable { public void testLablesWithAppend() throws Throwable { hbase-server//src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabels.java {code} Lable -> Label > 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)