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
- - URLIOException
URISyntaxException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.