hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5328) Small changes to Master to make it more testable
Date Wed, 21 Mar 2012 20:50:38 GMT

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

Zhihong Yu commented on HBASE-5328:
-----------------------------------

Snippet from 'arc lint' output:
{code}
>>> Lint for src/test/java/org/apache/hadoop/hbase/master/TestAssignmentManager.java:

   Error  (TXT6) Trailing Whitespace
    This line contains trailing whitespace.

             144 
             145   /**
             146    * Test a balance going on at same time as a master failover
    >>> -    147    * 
        +           *
             148    * @throws IOException
             149    * @throws KeeperException
             150    * @throws InterruptedException

   Error  (TXT6) Trailing Whitespace
    This line contains trailing whitespace.

             481    * @param region region to be created as offline
             482    * @param serverName server event originates from
             483    * @return Version of znode created.
    >>> -    484    * @throws KeeperException 
        +           * @throws KeeperException
             485    * @throws IOException 
             486    */
             487   // Copied from SplitTransaction rather than open the method over there
in

   Error  (TXT6) Trailing Whitespace
    This line contains trailing whitespace.

             482    * @param serverName server event originates from
             483    * @return Version of znode created.
             484    * @throws KeeperException 
    >>> -    485    * @throws IOException 
        +           * @throws IOException
             486    */
             487   // Copied from SplitTransaction rather than open the method over there
in
             488   // the regionserver package.
{code}
                
> Small changes to Master to make it more testable
> ------------------------------------------------
>
>                 Key: HBASE-5328
>                 URL: https://issues.apache.org/jira/browse/HBASE-5328
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>         Attachments: 5328.txt, 5328v2.txt, 5328v2.txt
>
>
> Here are some small changes in Master that make it more testable.  Included tests stand
up a Master and then fake it into thinking that three regionservers are registering making
master assign root and meta, etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message