Package org.apache.hadoop.hbase
Class StartMiniClusterOption.Builder
java.lang.Object
org.apache.hadoop.hbase.StartMiniClusterOption.Builder
- Enclosing class:
- StartMiniClusterOption
Builder pattern for creating an
StartMiniClusterOption
. 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 MiniHBaseCluster.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 MiniHBaseCluster.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 StartMiniClusterOption.Builder masterClass(Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass) -
numRegionServers
-
rsPorts
-
rsClass
public StartMiniClusterOption.Builder rsClass(Class<? extends MiniHBaseCluster.MiniHBaseClusterRegionServer> rsClass) -
numDataNodes
-
dataNodeHosts
-
numZkServers
-
numWorkers
-
createRootDir
-
createWALDir
-