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