hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nitay Joffe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1271) Allow multiple tests to run on one machine
Date Fri, 24 Apr 2009 21:02:30 GMT

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

Nitay Joffe commented on HBASE-1271:
------------------------------------

I don't think that's true Evgeny. LocalHBaseCluster is used for users in "local" mode. Testing
uses MiniHBaseCluster, which calls out to a LocalHBaseCluster. From HMaster code:

{code}
          // If 'local', defer to LocalHBaseCluster instance.
          if (LocalHBaseCluster.isLocal(conf)) {
            (new LocalHBaseCluster(conf)).startup();
          } else {
            Constructor<? extends HMaster> c =
              masterClass.getConstructor(HBaseConfiguration.class);
            HMaster master = c.newInstance(conf);
            master.start();
          }
{code}

> Allow multiple tests to run on one machine
> ------------------------------------------
>
>                 Key: HBASE-1271
>                 URL: https://issues.apache.org/jira/browse/HBASE-1271
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: test
>            Reporter: Nitay Joffe
>            Assignee: Evgeny Ryabitskiy
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HBASE-1271.patch
>
>
> Currently, if we try to run two tests on one machine (e.g. in two checkouts) the second
one will fail because its servers won't be able to bind to ports. We should use random ports
in our servers in the tests to fix this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message