public static final class StartMiniClusterOption.Builder extends Object
StartMiniClusterOption
. The default values of its
fields should be considered public and constant. Changing the default values may cause other
tests fail.Modifier and Type | Field and Description |
---|---|
private boolean |
createRootDir |
private boolean |
createWALDir |
private String[] |
dataNodeHosts |
private Class<? extends org.apache.hadoop.hbase.master.HMaster> |
masterClass |
private int |
numAlwaysStandByMasters |
private int |
numDataNodes |
private int |
numMasters |
private int |
numRegionServers |
private int |
numZkServers |
private Class<? extends MiniHBaseCluster.MiniHBaseClusterRegionServer> |
rsClass |
private List<Integer> |
rsPorts |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
StartMiniClusterOption |
build() |
StartMiniClusterOption.Builder |
createRootDir(boolean createRootDir) |
StartMiniClusterOption.Builder |
createWALDir(boolean createWALDir) |
StartMiniClusterOption.Builder |
dataNodeHosts(String[] dataNodeHosts) |
StartMiniClusterOption.Builder |
masterClass(Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass) |
StartMiniClusterOption.Builder |
numAlwaysStandByMasters(int numAlwaysStandByMasters) |
StartMiniClusterOption.Builder |
numDataNodes(int numDataNodes) |
StartMiniClusterOption.Builder |
numMasters(int numMasters) |
StartMiniClusterOption.Builder |
numRegionServers(int numRegionServers) |
StartMiniClusterOption.Builder |
numWorkers(int numWorkers) |
StartMiniClusterOption.Builder |
numZkServers(int numZkServers) |
StartMiniClusterOption.Builder |
rsClass(Class<? extends MiniHBaseCluster.MiniHBaseClusterRegionServer> rsClass) |
StartMiniClusterOption.Builder |
rsPorts(List<Integer> rsPorts) |
private int numMasters
private int numAlwaysStandByMasters
private Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass
private int numRegionServers
private Class<? extends MiniHBaseCluster.MiniHBaseClusterRegionServer> rsClass
private int numDataNodes
private String[] dataNodeHosts
private int numZkServers
private boolean createRootDir
private boolean createWALDir
private Builder()
public StartMiniClusterOption build()
public StartMiniClusterOption.Builder numMasters(int numMasters)
public StartMiniClusterOption.Builder numAlwaysStandByMasters(int numAlwaysStandByMasters)
public StartMiniClusterOption.Builder masterClass(Class<? extends org.apache.hadoop.hbase.master.HMaster> masterClass)
public StartMiniClusterOption.Builder numRegionServers(int numRegionServers)
public StartMiniClusterOption.Builder rsPorts(List<Integer> rsPorts)
public StartMiniClusterOption.Builder rsClass(Class<? extends MiniHBaseCluster.MiniHBaseClusterRegionServer> rsClass)
public StartMiniClusterOption.Builder numDataNodes(int numDataNodes)
public StartMiniClusterOption.Builder dataNodeHosts(String[] dataNodeHosts)
public StartMiniClusterOption.Builder numZkServers(int numZkServers)
public StartMiniClusterOption.Builder numWorkers(int numWorkers)
public StartMiniClusterOption.Builder createRootDir(boolean createRootDir)
public StartMiniClusterOption.Builder createWALDir(boolean createWALDir)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.