protected class IntegrationTestReplication.ClusterID extends Object
| Constructor and Description |
|---|
ClusterID(org.apache.hadoop.conf.Configuration base,
String key)
This creates a new ClusterID wrapper that will automatically build connections and
configurations to be able to talk to the specified cluster
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection() |
boolean |
equals(IntegrationTestReplication.ClusterID other) |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
Connection |
getConnection() |
String |
toString() |
public ClusterID(org.apache.hadoop.conf.Configuration base, String key)
base - the base configuration that this class will add tokey - the cluster key in the form of zk_quorum:zk_port:zk_parent_nodepublic org.apache.hadoop.conf.Configuration getConfiguration()
public Connection getConnection() throws Exception
Exceptionpublic void closeConnection() throws Exception
Exceptionpublic boolean equals(IntegrationTestReplication.ClusterID other)
Copyright © 2007–2019 Cloudera. All rights reserved.