Package org.apache.hadoop.hbase
Class StartTestingClusterOption.Builder
java.lang.Object
org.apache.hadoop.hbase.StartTestingClusterOption.Builder
- Enclosing class:
- StartTestingClusterOption
Builder pattern for creating an
StartTestingClusterOption
.
The default values of its fields should be considered public and constant. Changing the default
values may cause other tests fail.-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private boolean
private String[]
private Class<? extends org.apache.hadoop.hbase.master.HMaster>
private int
private int
private int
private int
private int
private Class<? extends SingleProcessHBaseCluster.MiniHBaseClusterRegionServer>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
createRootDir
(boolean createRootDir) createWALDir
(boolean createWALDir) dataNodeHosts
(String[] dataNodeHosts) masterClass
(Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass) numAlwaysStandByMasters
(int numAlwaysStandByMasters) numDataNodes
(int numDataNodes) numMasters
(int numMasters) numRegionServers
(int numRegionServers) numWorkers
(int numWorkers) numZkServers
(int numZkServers) rsClass
(Class<? extends SingleProcessHBaseCluster.MiniHBaseClusterRegionServer> rsClass)
-
Field Details
-
numMasters
-
numAlwaysStandByMasters
-
masterClass
-
numRegionServers
-
rsPorts
-
rsClass
-
numDataNodes
-
dataNodeHosts
-
numZkServers
-
createRootDir
-
createWALDir
-
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
build
-
numMasters
-
numAlwaysStandByMasters
-
masterClass
public StartTestingClusterOption.Builder masterClass(Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass) -
numRegionServers
-
rsPorts
-
rsClass
public StartTestingClusterOption.Builder rsClass(Class<? extends SingleProcessHBaseCluster.MiniHBaseClusterRegionServer> rsClass) -
numDataNodes
-
dataNodeHosts
-
numZkServers
-
numWorkers
-
createRootDir
-
createWALDir
-