[hbase] Add a LocalHBaseCluster
-------------------------------

                 Key: HADOOP-2084
                 URL: https://issues.apache.org/jira/browse/HADOOP-2084
             Project: Hadoop
          Issue Type: New Feature
            Reporter: stack
            Priority: Minor


Make a MiniHBaseCluster-like class named LocalHBaseCluster.  Key difference 
would be purge of MiniDFSCluster and FileSystem references/management and 
removal of utility that only makes sense in a unit testing context (Perhaps 
have MHBC inherit from LHBC).  Make a new class rather than move MHBC from 
src/test to src/java to allow for later having master and regionserver do 
direct method invocation rather than invocation via RPC.  LHRC would be used 
when hbase.master is set to the value 'local'.

LHRC would have a shutdown method to shutdown the cluster.  MHBC brings up the 
cluster on construction.  Perhaps LHRC should do different and not start the 
cluster until invocation of startup method.

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

Reply via email to