public static final class TestingHBaseClusterOption.Builder extends Object
TestingHBaseClusterOption
. 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 org.apache.hadoop.conf.Configuration |
conf |
private boolean |
createRootDir |
private boolean |
createWALDir |
private String[] |
dataNodeHosts |
private String |
externalDfsUri |
private String |
externalZkConnectString |
private int |
numAlwaysStandByMasters |
private int |
numDataNodes |
private int |
numMasters |
private int |
numRegionServers |
private int |
numZkServers |
private List<Integer> |
rsPorts |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
TestingHBaseClusterOption |
build() |
TestingHBaseClusterOption.Builder |
conf(org.apache.hadoop.conf.Configuration conf) |
TestingHBaseClusterOption.Builder |
createRootDir(boolean createRootDir) |
TestingHBaseClusterOption.Builder |
createWALDir(boolean createWALDir) |
TestingHBaseClusterOption.Builder |
dataNodeHosts(String[] dataNodeHosts) |
TestingHBaseClusterOption.Builder |
numAlwaysStandByMasters(int numAlwaysStandByMasters) |
TestingHBaseClusterOption.Builder |
numDataNodes(int numDataNodes) |
TestingHBaseClusterOption.Builder |
numMasters(int numMasters) |
TestingHBaseClusterOption.Builder |
numRegionServers(int numRegionServers) |
TestingHBaseClusterOption.Builder |
numZkServers(int numZkServers) |
TestingHBaseClusterOption.Builder |
rsPorts(List<Integer> rsPorts) |
TestingHBaseClusterOption.Builder |
useExternalDfs(String uri) |
TestingHBaseClusterOption.Builder |
useExternalZooKeeper(String connectString) |
private org.apache.hadoop.conf.Configuration conf
private int numMasters
private int numAlwaysStandByMasters
private int numRegionServers
private int numDataNodes
private String[] dataNodeHosts
private int numZkServers
private boolean createRootDir
private boolean createWALDir
private String externalDfsUri
private String externalZkConnectString
private Builder()
public TestingHBaseClusterOption build()
public TestingHBaseClusterOption.Builder conf(org.apache.hadoop.conf.Configuration conf)
public TestingHBaseClusterOption.Builder numMasters(int numMasters)
public TestingHBaseClusterOption.Builder numAlwaysStandByMasters(int numAlwaysStandByMasters)
public TestingHBaseClusterOption.Builder numRegionServers(int numRegionServers)
public TestingHBaseClusterOption.Builder rsPorts(List<Integer> rsPorts)
public TestingHBaseClusterOption.Builder numDataNodes(int numDataNodes)
public TestingHBaseClusterOption.Builder dataNodeHosts(String[] dataNodeHosts)
public TestingHBaseClusterOption.Builder numZkServers(int numZkServers)
public TestingHBaseClusterOption.Builder createRootDir(boolean createRootDir)
public TestingHBaseClusterOption.Builder createWALDir(boolean createWALDir)
public TestingHBaseClusterOption.Builder useExternalDfs(String uri)
public TestingHBaseClusterOption.Builder useExternalZooKeeper(String connectString)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.