TestingHBaseCluster
instead.@InterfaceAudience.Public @Deprecated public final class StartMiniClusterOption extends Object
StartMiniClusterOption.Builder
. Example usage:
StartMiniClusterOption option = StartMiniClusterOption.builder(). .numMasters(3).rsClass(MyRegionServer.class).createWALDir(true).build();Default values can be found in
StartMiniClusterOption.Builder
.Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.StartMiniClusterOption.Builder |
builder()
Deprecated.
Returns a new builder.
|
String[] |
getDataNodeHosts()
Deprecated.
|
Class<? extends org.apache.hadoop.hbase.master.HMaster> |
getMasterClass()
Deprecated.
|
int |
getNumAlwaysStandByMasters()
Deprecated.
|
int |
getNumDataNodes()
Deprecated.
|
int |
getNumMasters()
Deprecated.
|
int |
getNumRegionServers()
Deprecated.
|
int |
getNumZkServers()
Deprecated.
|
Class<? extends org.apache.hadoop.hbase.MiniHBaseCluster.MiniHBaseClusterRegionServer> |
getRsClass()
Deprecated.
|
List<Integer> |
getRsPorts()
Deprecated.
|
boolean |
isCreateRootDir()
Deprecated.
|
boolean |
isCreateWALDir()
Deprecated.
|
String |
toString()
Deprecated.
|
public int getNumMasters()
public int getNumAlwaysStandByMasters()
public Class<? extends org.apache.hadoop.hbase.master.HMaster> getMasterClass()
public int getNumRegionServers()
public List<Integer> getRsPorts()
public Class<? extends org.apache.hadoop.hbase.MiniHBaseCluster.MiniHBaseClusterRegionServer> getRsClass()
public int getNumDataNodes()
public String[] getDataNodeHosts()
public int getNumZkServers()
public boolean isCreateRootDir()
public boolean isCreateWALDir()
public static org.apache.hadoop.hbase.StartMiniClusterOption.Builder builder()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.