public final class ConnectorFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ClusterConnector |
getCluster(URI clusterURI,
org.apache.hadoop.conf.Configuration conf)
Constructs an appropriate connector based on the URL.
|
public static ClusterConnector getCluster(URI clusterURI, org.apache.hadoop.conf.Configuration conf) throws IOException, URISyntaxException
clusterURI - - URLIOExceptionURISyntaxExceptionCopyright © 2008–2024 Apache Software Foundation. All rights reserved.