Package | Description |
---|---|
org.apache.hadoop.fs.swift.http | |
org.apache.hadoop.fs.swift.util |
Modifier and Type | Method and Description |
---|---|
static Properties |
RestClientBindings.bind(URI fsURI,
org.apache.hadoop.conf.Configuration conf)
Build a properties instance bound to the configuration file -using
the filesystem URI as the source of the information.
|
static void |
RestClientBindings.copy(org.apache.hadoop.conf.Configuration conf,
String confKey,
Properties props,
String propsKey,
boolean required)
Copy a (trimmed) property from the configuration file to the properties file.
|
static String |
RestClientBindings.extractContainerName(String hostname)
Get the container name from the hostname -the single element before the
first "." in the hostname
|
static String |
RestClientBindings.extractContainerName(URI uri) |
static String |
RestClientBindings.extractServiceName(String hostname)
Get the service name from a longer hostname string
|
static String |
RestClientBindings.extractServiceName(URI uri) |
Modifier and Type | Method and Description |
---|---|
static SwiftObjectPath |
SwiftObjectPath.fromPath(URI uri,
org.apache.hadoop.fs.Path path)
Create a path tuple of (container, path), where the container is
chosen from the host of the URI.
|
static SwiftObjectPath |
SwiftObjectPath.fromPath(URI uri,
org.apache.hadoop.fs.Path path,
boolean addTrailingSlash)
Create a path tuple of (container, path), where the container is
chosen from the host of the URI.
|
static URI |
SwiftTestUtils.getServiceURI(org.apache.hadoop.conf.Configuration conf)
Get the test URI
|
Copyright © 2015 Apache Software Foundation. All Rights Reserved.