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

Andrew Purtell commented on HBASE-12156:
----------------------------------------

I'm going to commit an addendum to 0.98+ shortly that does the equivalent of:
{code}
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestTableName.java
@@ -28,7 +28,7 @@ import static org.junit.Assert.assertSame;
 import static org.junit.Assert.fail;
 
 import org.apache.hadoop.hbase.testclassification.MiscTests;
-import org.apache.hadoop.hbase.testclassification.SmallTests;
+import org.apache.hadoop.hbase.testclassification.MediumTests;
 import org.apache.hadoop.hbase.TableName;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
@@ -38,7 +38,7 @@ import org.junit.runner.Description;
 /**
  * Returns a {@code byte[]} containing the name of the currently running test m
  */
-@Category({MiscTests.class, SmallTests.class})
+@Category({MiscTests.class, MediumTests.class})
 public class TestTableName extends TestWatcher {
   private TableName tableName;
{code}
on each branch (the imports are different). Let me know if you have any 
concerns.

> TableName cache isn't used for one of valueOf methods.
> ------------------------------------------------------
>
>                 Key: HBASE-12156
>                 URL: https://issues.apache.org/jira/browse/HBASE-12156
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrey Stepachev
>            Assignee: Andrey Stepachev
>             Fix For: 2.0.0, 0.98.7, 0.99.1
>
>         Attachments: HBASE-12156-addendum-0.98.patch, HBASE-12156.patch
>
>
> there is wrong comparison, copy&paste code compares namespace with qualifier 
> and namespace.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to