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

Vandana Ayyalasomayajula commented on HBASE-13438:
--------------------------------------------------

For me when I execute:
mvn clean package  -Dtest=TestNamespaceAuditor

I get the following:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 26.52 sec <<< 
FAILURE! - in org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
testRegionOperations(org.apache.hadoop.hbase.namespace.TestNamespaceAuditor)  
Time elapsed: 6.222 sec  <<< FAILURE!
java.lang.AssertionError: expected:<2> but was:<3>
        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.junit.Assert.assertEquals(Assert.java:542)
        at 
org.apache.hadoop.hbase.namespace.TestNamespaceAuditor.testRegionOperations(TestNamespaceAuditor.java:473)


Results :

Failed tests:
  TestNamespaceAuditor.testRegionOperations:473 expected:<2> but was:<3>

which I expect. The namespace state manager needs to listen to the zk events ( 
split/merge) and then update quota. 

> [branch-1] Backport Basic quota support for namespaces
> ------------------------------------------------------
>
>                 Key: HBASE-13438
>                 URL: https://issues.apache.org/jira/browse/HBASE-13438
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 1.1.0
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>              Labels: quota
>             Fix For: 1.1.0
>
>         Attachments: HBASE-13438-branch-1-v1.patch, 
> HBASE-13438-branch-1-v2.patch, HBASE-13438-branch-1.patch
>
>
> This task for backporting HBASE-8410, HBASE-12936 and HBASE-13357 to branch-1



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

Reply via email to