A B C D E F G H I J K L M N O P R S T U V W X 

A

AccessToken - Class in org.apache.hadoop.fs.swift.auth.entities
Access token representation of Openstack Keystone authentication.
AccessToken() - Constructor for class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
add(Duration) - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Add a duration
add(long) - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Add a number
add(String, Duration, boolean) - Method in class org.apache.hadoop.fs.swift.util.DurationStatsTable
Add an operation
ApiKeyAuthenticationRequest - Class in org.apache.hadoop.fs.swift.auth
Class that represents authentication request to Openstack Keystone.
ApiKeyAuthenticationRequest(String, ApiKeyCredentials) - Constructor for class org.apache.hadoop.fs.swift.auth.ApiKeyAuthenticationRequest
API key auth
ApiKeyCredentials - Class in org.apache.hadoop.fs.swift.auth
Describes credentials to log in Swift using Keystone authentication.
ApiKeyCredentials() - Constructor for class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
default constructor
ApiKeyCredentials(String, String) - Constructor for class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
append(Path, int, Progressable) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
This optional operation is not supported
assertDeleted(FileSystem, Path, boolean) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
assertFileHasLength(FileSystem, Path, int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Make an assertion about the length of a file
assertIsDirectory(FileSystem, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a path refers to a directory
assertIsDirectory(FileStatus) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a path refers to a directory
assertIsFile(FileSystem, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
/** Assert that a file exists and whose FileStatus entry declares that this is a file and not a symlink or directory.
assertListStatusFinds(FileSystem, Path, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a FileSystem.listStatus on a dir finds the subdir/child entry
assertPathDoesNotExist(FileSystem, String, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a path does not exist
assertPathExists(FileSystem, String, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a path exists -but make no assertions as to the type of that entry
assertPropertyEquals(Properties, String, String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that a property in the property set matches the expected value
authenticate() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Authenticate to Openstack Keystone As well as returning the access token, the member fields SwiftRestClient.token, SwiftRestClient.endpointURI and SwiftRestClient.objectLocationURI are set up for re-use.
AuthenticationRequest - Class in org.apache.hadoop.fs.swift.auth
Class that represents authentication request to Openstack Keystone.
AuthenticationRequest() - Constructor for class org.apache.hadoop.fs.swift.auth.AuthenticationRequest
 
AuthenticationRequestWrapper - Class in org.apache.hadoop.fs.swift.auth
This class is used for correct hierarchy mapping of Keystone authentication model and java code.
AuthenticationRequestWrapper() - Constructor for class org.apache.hadoop.fs.swift.auth.AuthenticationRequestWrapper
default constructor used for json parsing
AuthenticationRequestWrapper(AuthenticationRequest) - Constructor for class org.apache.hadoop.fs.swift.auth.AuthenticationRequestWrapper
 
AuthenticationResponse - Class in org.apache.hadoop.fs.swift.auth
Response from KeyStone deserialized into AuthenticationResponse class.
AuthenticationResponse() - Constructor for class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
AuthenticationWrapper - Class in org.apache.hadoop.fs.swift.auth
This class is used for correct hierarchy mapping of Keystone authentication model and java code THIS FILE IS MAPPED BY JACKSON TO AND FROM JSON.
AuthenticationWrapper() - Constructor for class org.apache.hadoop.fs.swift.auth.AuthenticationWrapper
 
available() - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 

B

bind(URI, Configuration) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
Build a properties instance bound to the configuration file -using the filesystem URI as the source of the information.
BLOCK_LOCATION - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Block location to return when a block location is requested
body - Variable in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
buildSwiftInstancePrefix(String) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
Public for testing : build the full prefix for use in resolving configuration items

C

Catalog - Class in org.apache.hadoop.fs.swift.auth.entities
Describes Openstack Swift REST endpoints.
Catalog() - Constructor for class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
cleanup(String, FileSystem, String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
cleanupInTeardown(FileSystem, String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
close() - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 
compareByteArrays(byte[], byte[], int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Assert that tthe array src[0..len] and dest[] are equal
copy(Configuration, String, Properties, String, boolean) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
Copy a (trimmed) property from the configuration file to the properties file.
copy(Path, Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
copyObject(SwiftObjectPath, SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Copy an object.
create(Path, FsPermission, boolean, int, short, long, Progressable) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
createContainer(String) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Create a container -if it already exists, do nothing
createDirectory(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Create a directory
createManifestForPartUpload(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Tell the Swift server to expect a multi-part upload by submitting a 0-byte file with the X-Object-Manifest header
createSwiftOutputStream(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Create the swift output stream

D

dataset(int, int, int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Create a dataset for use in the tests; all data is in the range base to (base+modulo-1) inclusive
debug(Log, String, Object...) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Sprintf() to the log iff the log is at debug level.
debugEx(Log, String, Exception) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Log an exception (in text and trace) iff the log is at debug
DEFAULT_SOCKET_TIMEOUT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
the default socket timeout in millis 60000.
DEFAULT_SWIFT_BLOCKSIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
the default blocksize for filesystems in KB: 32768
DEFAULT_SWIFT_PARTITION_SIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
The default partition size for uploads: 4718592
DEFAULT_SWIFT_REQUEST_SIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
The default reqeuest size for reads: 64
DEFAULT_THROTTLE_DELAY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
the default throttle delay in millis 0
delete(SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Deletes object from swift.
delete(Path, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Delete a file or directory
delete(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Delete a file.
delete(Path, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Delete the entire tree.
deleteObject(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
deletes object from Swift
DOT_APIKEY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_AUTH_URL - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_CONTAINER - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Key for passing the container name as a property -not read from the configuration : ".CONTAINER-NAME"
DOT_HTTP_PORT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_HTTPS_PORT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_LOCATION_AWARE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_PASSWORD - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_PROXY_HOST - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_PROXY_PORT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_PUBLIC - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
flag to say use public URL
DOT_REGION - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_SERVICE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Key for passing the service name as a property -not read from the configuration : ".SERVICE-NAME"
DOT_TENANT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_USE_APIKEY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
DOT_USERNAME - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
downgrade(String, Throwable) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
downgrade a failure to a message and a warning, then an exception for the Junit test runner to mark as failed
dumpStats(String, FileStatus[]) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
Duration - Class in org.apache.hadoop.fs.swift.util
 
Duration() - Constructor for class org.apache.hadoop.fs.swift.util.Duration
 
DurationStats - Class in org.apache.hadoop.fs.swift.util
Build ongoing statistics from duration data
DurationStats(String) - Constructor for class org.apache.hadoop.fs.swift.util.DurationStats
Construct statistics for a given operation.
DurationStats(DurationStats) - Constructor for class org.apache.hadoop.fs.swift.util.DurationStats
construct from anothr stats entry; all value are copied.
DurationStatsTable - Class in org.apache.hadoop.fs.swift.util
Build a duration stats table to which you can add statistics.
DurationStatsTable() - Constructor for class org.apache.hadoop.fs.swift.util.DurationStatsTable
 

E

E_INVALID_NAME - Static variable in class org.apache.hadoop.fs.swift.http.RestClientBindings
 
Endpoint - Class in org.apache.hadoop.fs.swift.auth.entities
Openstack Swift endpoint description.
Endpoint() - Constructor for class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
equals(Object) - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
ExceptionDiags - Class in org.apache.hadoop.fs.swift.http
Variant of Hadoop Netutils exception wrapping with URI awareness and available in branch-1 too.
ExceptionDiags() - Constructor for class org.apache.hadoop.fs.swift.http.ExceptionDiags
 
exceptionTitle() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftAuthenticationFailedException
 
exceptionTitle() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftBadRequestException
 
exceptionTitle() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
Override point: title of an exception -this is used in the toString() method.
extractContainerName(String) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
Get the container name from the hostname -the single element before the first "." in the hostname
extractContainerName(URI) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
 
extractServiceName(String) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
Get the service name from a longer hostname string
extractServiceName(URI) - Static method in class org.apache.hadoop.fs.swift.http.RestClientBindings
 
extractUris(String, Path) - Static method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
extracts URIs from json

F

fileStatsToString(FileStatus[], String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Take an array of filestats and convert to a string (prefixed w/ a [01] counter
finalize() - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
Finalizer does release the stream, but also logs at WARN level including the URI at fault
findObjectsByPrefix(SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Find objects under a prefix
finished() - Method in class org.apache.hadoop.fs.swift.util.Duration
 
fromPath(URI, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
Create a path tuple of (container, path), where the container is chosen from the host of the URI.
fromPath(URI, Path, boolean) - Static method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
Create a path tuple of (container, path), where the container is chosen from the host of the URI.
FS_SWIFT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 

G

getAccess() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationWrapper
 
getAccessKey() - Method in class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
getAdminURL() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getApiAccessKeyCredentials() - Method in class org.apache.hadoop.fs.swift.auth.KeyStoneAuthRequest
 
getApiKey() - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
getApiKeyCredentials() - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyAuthenticationRequest
 
getArithmeticMean() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Get the arithmetic mean of the aggregate statistics
getAuth() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationRequestWrapper
 
getBlockSize(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
getBlocksize() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the default blocksize of this (bound) filesystem
getBlocksizeKB() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the blocksize of this filesystem
getBody() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
getBufferSizeKB() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the buffer size in KB
getBufferSizeKB() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
getBytesUploaded(FSDataOutputStream) - Static method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Get the the number of bytes uploaded by an output stream to the swift cluster.
getBytesWritten(FSDataOutputStream) - Static method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Get the the number of bytes written to an output stream This is for testing
getConnectTimeout() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
getContainer() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the container to which this client is bound
getContainer() - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
getContentLength() - Method in class org.apache.hadoop.fs.swift.http.HttpBodyContent
 
getContentLength(URI) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Returns object length
getContentLength(SwiftObjectPath) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the length of the remote object
getCorrectSwiftPath(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Take a Hadoop path and return one which uses the URI prefix and authority of this FS.
getCount() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Get the number of entries sampled
getData(SwiftObjectPath, long, long) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Make an HTTP GET request to Swift to get a range of data in the object.
getData(SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the path contents as an input stream.
getDefaultBlockSize() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
The blocksize of this filesystem is set by the property SwiftProtocolConstants.SWIFT_BLOCKSIZE;the default is the value of SwiftProtocolConstants.DEFAULT_SWIFT_BLOCKSIZE;
getDefaultBlockSize(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
The blocksize for this filesystem.
getDefaultWorkingDirectory() - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
getDescription() - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
getDescription() - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
getDeviation() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Get the std deviation, sigma
getDurationStatistics() - Method in class org.apache.hadoop.fs.swift.util.DurationStatsTable
Get the current duration statistics
getDurationString() - Method in class org.apache.hadoop.fs.swift.util.Duration
 
getEndpoints() - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
getEndpoints_links() - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
getExpires() - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
getFileBlockLocations(FileStatus, long, long) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Return an array containing hostnames, offset and size of portions of the given file.
getFileStatus(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Return a file status object that represents the path.
getId() - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
getId() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getId() - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
getId() - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
getId() - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
getInputStream() - Method in class org.apache.hadoop.fs.swift.http.HttpBodyContent
 
getInstance(URI, Configuration) - Static method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Create an instance against a specific FS URI,
getInternalURL() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getJsonMapper() - Static method in class org.apache.hadoop.fs.swift.util.JSONUtil
 
getMetadata() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
getName() - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
getName() - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
getName() - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
getName() - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
getObject(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the object as an input stream
getObject(Path, long, long) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the input stream starting from a specific point.
getObject() - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
getObjectHeaders(Path, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the HTTP headers, in case you really need the low-level metadata
getObjectLocation(SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Returns object location as byte[]
getObjectLocation(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Try to find the specific server(s) on which the data lives
getObjectMetadata(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the metadata of an object
getObjectMetadata(Path, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the metadata of an object
getOperation() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
getOperationStatistics() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the current operation statistics
getOperationStatistics() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Get the current operation statistics
getOperationStatistics() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Get the current operation statistics
getPartitionSize(FSDataOutputStream) - Static method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Get the size of partitions written by an output stream This is for testing
getPartitionsWritten(FSDataOutputStream) - Static method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Get the number of partitions written by an output stream This is for testing
getPartSizeKB() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the partition size in KB
getPartsizeKB() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
getPassword() - Method in class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
getPasswordCredentials() - Method in class org.apache.hadoop.fs.swift.auth.PasswordAuthenticationRequest
 
getProxyHost() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
getProxyPort() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
getPublicURL() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getPublicURL2() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getRegion() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getRegion() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the region which this client is bound to
getRetryCount() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
getRoles() - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
getRoles_links() - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
getScheme() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
getSecretKey() - Method in class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
getServiceCatalog() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
getServiceId() - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
getServiceURI(Configuration) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Get the test URI
getStatusCode() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
getStore() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
This is for testing
getSum() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Get the sum of all durations
getTenant() - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
getTenant() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the tenant to which this client is bound
getTenantId() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getTenantId() - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
getTenantName() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationRequest
 
getThrottleDelay() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
getThrottleDelay() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
getToken() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
getType() - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
getUri() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
getUri() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
getUser() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
getUsername() - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
getUsername() - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
getUsername() - Method in class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
getUsername() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Get the username this client identifies itself as
getVariance() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Variance, sigma^2
getVersionId() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getVersionInfo() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getVersionList() - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
getWorkingDirectory() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Path to user working directory

H

HADOOP_WIKI - Static variable in class org.apache.hadoop.fs.swift.http.ExceptionDiags
Base URL of the Hadoop Wiki: "http://wiki.apache.org/hadoop/"
hashCode() - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
hasServiceURI(Configuration) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
HEADER_AUTH_KEY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Swift-specific header for authentication: "X-Auth-Token"
HEADER_CONTENT_LENGTH - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
HTTP standard "Content-Length" header
HEADER_CONTENT_RANGE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
HTTP standard "Content-Range" header
HEADER_DESTINATION - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
HTTP standard "Destination" header
HEADER_LAST_MODIFIED - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
HTTP standard "Last-Modified" header
HEADER_RANGE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
HTTP standard "Range" header
HEADER_USER_AGENT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
headRequest(String, SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Issue a head request
HTTP_ROUTE_DEFAULT_PROXY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
HttpBodyContent - Class in org.apache.hadoop.fs.swift.http
Response tuple from GET operations; combines the input stream with the content length
HttpBodyContent(HttpInputStreamWithRelease, long) - Constructor for class org.apache.hadoop.fs.swift.http.HttpBodyContent
build a body response
HttpInputStreamWithRelease - Class in org.apache.hadoop.fs.swift.http
This replaces the input stream release class from JetS3t and AWS; # Failures in the constructor are relayed up instead of simply logged.
HttpInputStreamWithRelease(URI, HttpMethod) - Constructor for class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 
humanTime(long) - Static method in class org.apache.hadoop.fs.swift.util.Duration
 

I

initialize(URI, Configuration) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
default class initialization
initialize(URI, Configuration) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Initalize the filesystem store -this creates the REST client binding.
IO_FILE_BUFFER_SIZE - Static variable in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
isDir() - Method in class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
Declare that the path represents a directory, which in the SwiftNativeFileSystem means "is a directory or a 0 byte file"
isDirectory() - Method in class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
Directory test
isDirectory(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
isDirectory(FileStatus) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
This test contains the is-directory logic for Swift, so if changed there is only one place for it.
isEnabled() - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
isEqualToOrParentOf(SwiftObjectPath) - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
Query to see if the possibleChild object is a child path of this.
isFile() - Method in class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
A entry is a file if it is not a directory.
isFile(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
isFilePretendingToBeDirectory(FileStatus) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Test for the entry being a file that is treated as if it is a directory
isLocationAware() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Is this client bound to a location aware Swift blobstore -that is, can you query for the location of partitions
isRootDir(SwiftObjectPath) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Predicate: Is a swift object referring to the root direcory?
isUsePublicURL() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 

J

joinPaths(String, String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Join two (non null) paths, inserting a forward slash between them if needed
JSONUtil - Class in org.apache.hadoop.fs.swift.util
 

K

KeystoneApiKeyCredentials - Class in org.apache.hadoop.fs.swift.auth
Class for Keystone authentication.
KeystoneApiKeyCredentials(String, String) - Constructor for class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
KeyStoneAuthRequest - Class in org.apache.hadoop.fs.swift.auth
Class that represents authentication to OpenStack Keystone.
KeyStoneAuthRequest(String, KeystoneApiKeyCredentials) - Constructor for class org.apache.hadoop.fs.swift.auth.KeyStoneAuthRequest
 

L

listDeepObjectsInDirectory(SwiftObjectPath, boolean, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Find objects in a directory
listRawFileStatus(Path, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Low level method to do a deep listing of all entries, not stopping at the next directory entry.
listStatus(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
List the statuses of the files/directories in the given path if the path is a directory.
listSubPaths(Path, boolean, boolean) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
List all elements in this directory
ls(FileSystem, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
ls(FileSystem, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
List a a path to string

M

makeAbsolute(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Makes path absolute
MESSAGE - Static variable in exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionClosedException
 
mkdirs(Path, FsPermission) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Create the parent directories.

N

NEWEST - Static variable in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Header that says "use newest version" -ensures that the query doesn't pick up older versions served by an eventually consistent filesystem (except in the special case of a network partition, at which point no guarantees about consistency can be made.
noteAction(String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 

O

objectExists(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Does the object exist
objectExists(SwiftObjectPath) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Does the object exist
objectMatches(String) - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
Test for the object matching a path, ignoring the container value.
open(Path, int) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Opens an FSDataInputStream at the indicated Path.
open(Path, int, long) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Low-level operation to also set the block size for this operation
operation - Variable in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
org.apache.hadoop.fs.swift.auth - package org.apache.hadoop.fs.swift.auth
 
org.apache.hadoop.fs.swift.auth.entities - package org.apache.hadoop.fs.swift.auth.entities
 
org.apache.hadoop.fs.swift.exceptions - package org.apache.hadoop.fs.swift.exceptions
 
org.apache.hadoop.fs.swift.http - package org.apache.hadoop.fs.swift.http
 
org.apache.hadoop.fs.swift.snative - package org.apache.hadoop.fs.swift.snative
 
org.apache.hadoop.fs.swift.util - package org.apache.hadoop.fs.swift.util
 

P

partitionFilenameFromNumber(int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Given a partition number, calculate the partition value.
PasswordAuthenticationRequest - Class in org.apache.hadoop.fs.swift.auth
Class that represents authentication request to Openstack Keystone.
PasswordAuthenticationRequest(String, PasswordCredentials) - Constructor for class org.apache.hadoop.fs.swift.auth.PasswordAuthenticationRequest
 
PasswordCredentials - Class in org.apache.hadoop.fs.swift.auth
Describes credentials to log in Swift using Keystone authentication.
PasswordCredentials() - Constructor for class org.apache.hadoop.fs.swift.auth.PasswordCredentials
default constructor
PasswordCredentials(String, String) - Constructor for class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
pathToURI(SwiftObjectPath, URI) - Static method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Converts Swift path to URI to make request.
putRequest(SwiftObjectPath, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Issue a put request

R

read() - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 
read(byte[], int, int) - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 
READ - Static variable in class org.apache.hadoop.fs.swift.util.SwiftUtils
 
readBytesToString(FileSystem, Path, int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Read in "length" bytes, convert to an ascii string
readDataset(FileSystem, Path, int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Read the file and convert to a byte dataaset
rename(Path, Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Renames Path src to Path dst.
rename(Path, Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Rename through copy-and-delete.
reset() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Reset the data
reset() - Method in class org.apache.hadoop.fs.swift.util.DurationStatsTable
reset the values of the statistics.
RestClientBindings - Class in org.apache.hadoop.fs.swift.http
This class implements the binding logic between Hadoop configurations and the swift rest client.
RestClientBindings() - Constructor for class org.apache.hadoop.fs.swift.http.RestClientBindings
 
rmdir(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
deletes a directory from Swift.
Roles - Class in org.apache.hadoop.fs.swift.auth
Describes user roles in Openstack system.
Roles() - Constructor for class org.apache.hadoop.fs.swift.auth.Roles
 

S

SC_THROTTLED_498 - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
throttled response sent by some endpoints.
SC_TOO_MANY_REQUESTS_429 - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
W3C recommended status code for throttled operations
seek(long) - Method in class org.apache.hadoop.fs.swift.snative.StrictBufferedFSInputStream
 
SERVICE_CATALOG_CLOUD_FILES - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
section in the JSON catalog provided after auth listing the cloudfiles; this is an alternate catalog entry name "cloudFiles"
SERVICE_CATALOG_OBJECT_STORE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
section in the JSON catalog provided after auth listing the object store; this is an alternate catalog entry name "object-store"
SERVICE_CATALOG_SWIFT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
section in the JSON catalog provided after auth listing the swift FS: "swift"
setAccess(AuthenticationResponse) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationWrapper
 
setAccessKey(String) - Method in class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
setAdminURL(URI) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setApiAccessKeyCredentials(KeystoneApiKeyCredentials) - Method in class org.apache.hadoop.fs.swift.auth.KeyStoneAuthRequest
 
setApiKey(String) - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
setApiKeyCredentials(ApiKeyCredentials) - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyAuthenticationRequest
 
setAuth(AuthenticationRequest) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationRequestWrapper
 
setDescription(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
setDescription(String) - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
setEnabled(boolean) - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
setEndpoints(List<Endpoint>) - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
setEndpoints_links(List<Object>) - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
setExpires(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
setId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
setId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
setId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
setId(String) - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
setInternalURL(URI) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setMetadata(Object) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
setName(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
setName(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
setName(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
setName(String) - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
setPassword(String) - Method in class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
setPasswordCredentials(PasswordCredentials) - Method in class org.apache.hadoop.fs.swift.auth.PasswordAuthenticationRequest
 
setPublicURL(URI) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setPublicURL2(URI) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setRegion(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setRoles(List<Roles>) - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
setRoles_links(List<Object>) - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
setSecretKey(String) - Method in class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
setServiceCatalog(List<Catalog>) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
setServiceId(String) - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
setTenant(Tenant) - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
setTenantId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setTenantId(String) - Method in class org.apache.hadoop.fs.swift.auth.Roles
 
setTenantName(String) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationRequest
 
setToken(AccessToken) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
setType(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Catalog
 
setUser(User) - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationResponse
 
setUsername(String) - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
setUsername(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.User
 
setUsername(String) - Method in class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
setVersionId(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setVersionInfo(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setVersionList(String) - Method in class org.apache.hadoop.fs.swift.auth.entities.Endpoint
 
setWorkingDirectory(Path) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
skip(String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
report a test has been skipped for some reason
statusCode - Variable in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
StrictBufferedFSInputStream - Class in org.apache.hadoop.fs.swift.snative
Add stricter compliance with the evolving FS specifications
StrictBufferedFSInputStream(FSInputStream, int) - Constructor for class org.apache.hadoop.fs.swift.snative.StrictBufferedFSInputStream
 
SWIFT - Static variable in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
filesystem prefix: "swift"
SWIFT_APIKEY_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_AUTH_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_BLOCKSIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
blocksize for all filesystems: "fs.swift.blocksize"
SWIFT_CONNECTION_TIMEOUT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
timeout for all connections: "fs.swift.connect.timeout"
SWIFT_CONTAINER_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_HTTP_PORT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Default port used by Swift for HTTP
SWIFT_HTTP_PORT_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_HTTPS_PORT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Default port used by Swift Auth for HTTPS
SWIFT_HTTPS_PORT_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_LOCATION_AWARE_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_OBJECT_AUTH_ENDPOINT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
entry in the swift catalog defining the prefix used to talk to objects "/object_endpoint/"
SWIFT_PARTITION_SIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
partition size for all filesystems in KB: "fs.swift.partsize"
SWIFT_PASSWORD_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_PROXY_HOST_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_PROXY_PORT_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_PUBLIC_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_RANGE_HEADER_FORMAT_PATTERN - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Patten for range headers
SWIFT_REGION_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_REQUEST_SIZE - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
request size for reads in KB: "fs.swift.requestsize"
SWIFT_RETRY_COUNT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
connection retry count for all connections: "fs.swift.connect.retry.count"
SWIFT_SERVICE_PREFIX - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Prefix for all instance-specific values in the configuration: "fs.swift.service."
SWIFT_SERVICE_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_SOCKET_TIMEOUT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
timeout for all connections: "fs.swift.socket.timeout"
SWIFT_TENANT_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_THROTTLE_DELAY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
delay in millis between bulk (delete, rename, copy operations: "fs.swift.connect.throttle.delay"
SWIFT_USE_API_KEY_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SWIFT_USER_AGENT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
The user agent sent in requests.
SWIFT_USERNAME_PROPERTY - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SwiftAuthenticationFailedException - Exception in org.apache.hadoop.fs.swift.exceptions
An exception raised when an authentication request was rejected
SwiftAuthenticationFailedException(String, int, String, URI) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftAuthenticationFailedException
 
SwiftAuthenticationFailedException(String, String, URI, HttpMethod) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftAuthenticationFailedException
 
SwiftBadRequestException - Exception in org.apache.hadoop.fs.swift.exceptions
Thrown to indicate that data locality can't be calculated or requested path is incorrect.
SwiftBadRequestException(String, String, URI, HttpMethod) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftBadRequestException
 
SwiftBadRequestException(String, int, String, URI) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftBadRequestException
 
SwiftConfigurationException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised to indicate there is some problem with how the Swift FS is configured
SwiftConfigurationException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException
 
SwiftConfigurationException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConfigurationException
 
SwiftConnectionClosedException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised when an attempt is made to use a closed stream
SwiftConnectionClosedException() - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionClosedException
 
SwiftConnectionClosedException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionClosedException
 
SwiftConnectionException - Exception in org.apache.hadoop.fs.swift.exceptions
Thrown to indicate that connection is lost or failed to be made
SwiftConnectionException() - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionException
 
SwiftConnectionException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionException
 
SwiftConnectionException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftConnectionException
 
SwiftException - Exception in org.apache.hadoop.fs.swift.exceptions
A Swift-specific exception -subclasses exist for various specific problems.
SwiftException() - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftException
 
SwiftException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftException
 
SwiftException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftException
 
SwiftException(Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftException
 
SwiftFileStatus - Class in org.apache.hadoop.fs.swift.snative
A subclass of FileStatus that contains the Swift-specific rules of when a file is considered to be a directory.
SwiftFileStatus() - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
 
SwiftFileStatus(long, boolean, int, long, long, Path) - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
 
SwiftFileStatus(long, boolean, int, long, long, long, FsPermission, String, String, Path) - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
 
SwiftFileStatus(long, boolean, int, long, long, long, FsPermission, String, String, Path, Path) - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
 
SwiftInternalStateException - Exception in org.apache.hadoop.fs.swift.exceptions
The internal state of the Swift client is wrong -presumably a sign of some bug
SwiftInternalStateException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftInternalStateException
 
SwiftInternalStateException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftInternalStateException
 
SwiftInternalStateException(Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftInternalStateException
 
SwiftInvalidResponseException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised when the HTTP code is invalid.
SwiftInvalidResponseException(String, int, String, URI) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
SwiftInvalidResponseException(String, String, URI, HttpMethod) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
SwiftJsonMarshallingException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised when the J/O mapping fails.
SwiftJsonMarshallingException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftJsonMarshallingException
 
SwiftJsonMarshallingException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftJsonMarshallingException
 
SwiftNativeFileSystem - Class in org.apache.hadoop.fs.swift.snative
Swift file system implementation.
SwiftNativeFileSystem() - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
Default constructor for Hadoop
SwiftNativeFileSystem(SwiftNativeFileSystemStore) - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
This constructor used for testing purposes
SwiftNativeFileSystemStore - Class in org.apache.hadoop.fs.swift.snative
File system store implementation.
SwiftNativeFileSystemStore() - Constructor for class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
SwiftObjectPath - Class in org.apache.hadoop.fs.swift.util
Swift hierarchy mapping of (container, path)
SwiftObjectPath(String, String) - Constructor for class org.apache.hadoop.fs.swift.util.SwiftObjectPath
Build an instance from a (host, object) pair
SwiftOperationFailedException - Exception in org.apache.hadoop.fs.swift.exceptions
Used to relay exceptions upstream from the inner implementation to the public API, where it is downgraded to a log+failure.
SwiftOperationFailedException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftOperationFailedException
 
SwiftOperationFailedException(String, Throwable) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftOperationFailedException
 
SwiftProtocolConstants - Class in org.apache.hadoop.fs.swift.http
Constants used in the Swift REST protocol, and in the properties used to configure the SwiftRestClient.
SwiftProtocolConstants() - Constructor for class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
 
SwiftRestClient - Class in org.apache.hadoop.fs.swift.http
This implements the client-side of the Swift REST API The core actions put, get and query data in the Swift object store, after authenticationg the client.
SwiftTestUtils - Class in org.apache.hadoop.fs.swift.util
Utilities used across test cases
SwiftTestUtils() - Constructor for class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
SwiftThrottledRequestException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised if a Swift endpoint returned a HTTP response indicating the caller is being throttled.
SwiftThrottledRequestException(String, String, URI, HttpMethod) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftThrottledRequestException
 
SwiftUnsupportedFeatureException - Exception in org.apache.hadoop.fs.swift.exceptions
Exception raised on an unsupported feature in the FS API -such as append()
SwiftUnsupportedFeatureException(String) - Constructor for exception org.apache.hadoop.fs.swift.exceptions.SwiftUnsupportedFeatureException
 
SwiftUtils - Class in org.apache.hadoop.fs.swift.util
Various utility classes for SwiftFS support
SwiftUtils() - Constructor for class org.apache.hadoop.fs.swift.util.SwiftUtils
 

T

Tenant - Class in org.apache.hadoop.fs.swift.auth.entities
Tenant is abstraction in Openstack which describes all account information and user privileges in system.
Tenant() - Constructor for class org.apache.hadoop.fs.swift.auth.entities.Tenant
 
tenantName - Variable in class org.apache.hadoop.fs.swift.auth.AuthenticationRequest
tenant name
TEST_FS_SWIFT - Static variable in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
throttle() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Insert a throttled wait if the throttle delay > 0
toAsciiByteArray(String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
toChar(byte) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Convert a byte to a character for printing.
toChar(byte[]) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
 
toJSON(Object) - Static method in class org.apache.hadoop.fs.swift.util.JSONUtil
Converting object to JSON string.
toObject(String, Class<T>) - Static method in class org.apache.hadoop.fs.swift.util.JSONUtil
Convert string representation to object.
toObject(String, TypeReference<T>) - Static method in class org.apache.hadoop.fs.swift.util.JSONUtil
 
toObject(String, CollectionType) - Static method in class org.apache.hadoop.fs.swift.util.JSONUtil
 
TOPOLOGY_PATH - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Topology to return when a block location is requested
toString() - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyAuthenticationRequest
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.ApiKeyCredentials
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.AuthenticationRequest
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.entities.AccessToken
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.KeystoneApiKeyCredentials
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.KeyStoneAuthRequest
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.PasswordAuthenticationRequest
 
toString() - Method in class org.apache.hadoop.fs.swift.auth.PasswordCredentials
 
toString() - Method in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
Build a description that includes the exception title, the URI, the message, the status code -and any body of the response
toString() - Method in class org.apache.hadoop.fs.swift.http.HttpInputStreamWithRelease
 
toString() - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
 
toString() - Method in class org.apache.hadoop.fs.swift.snative.SwiftFileStatus
 
toString() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem
 
toString() - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
 
toString() - Method in class org.apache.hadoop.fs.swift.util.Duration
 
toString() - Method in class org.apache.hadoop.fs.swift.util.DurationStats
Covert to a useful string
toString() - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
touch(FileSystem, Path) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Touch a file: fails if it is already there
toUriPath() - Method in class org.apache.hadoop.fs.swift.util.SwiftObjectPath
 
trace(Log, String, Object...) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Sprintf() to the log iff the log is at trace level.

U

UNKNOWN_HOST - Static variable in class org.apache.hadoop.fs.swift.http.ExceptionDiags
text included in wrapped exceptions if the host is null: "(unknown)"
unsupported(String) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
report an overridden test as unsupported
upload(SwiftObjectPath, InputStream, long, Header...) - Method in class org.apache.hadoop.fs.swift.http.SwiftRestClient
Uploads file as Input Stream to Swift.
uploadFile(Path, InputStream, long) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Upload a file/input stream of a specific length.
uploadFilePart(Path, int, InputStream, long) - Method in class org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystemStore
Upload part of a larger file.
uri - Variable in exception org.apache.hadoop.fs.swift.exceptions.SwiftInvalidResponseException
 
User - Class in org.apache.hadoop.fs.swift.auth.entities
Describes user entity in Keystone In different Swift installations User is represented differently.
User() - Constructor for class org.apache.hadoop.fs.swift.auth.entities.User
 

V

validateReadArgs(byte[], int, int) - Static method in class org.apache.hadoop.fs.swift.util.SwiftUtils
Verify that the basic args to a read operation are valid; throws an exception if not -with meaningful text includeing
value() - Method in class org.apache.hadoop.fs.swift.util.Duration
 

W

wrapException(String, String, IOException) - Static method in class org.apache.hadoop.fs.swift.http.ExceptionDiags
Take an IOException and a URI, wrap it where possible with something that includes the URI
writeAndRead(FileSystem, Path, byte[], int, int, boolean, boolean) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Write a file and read it in, validating the result.
writeDataset(FileSystem, Path, byte[], int, int, boolean) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Write a file.
writeTextFile(FileSystem, Path, String, boolean) - Static method in class org.apache.hadoop.fs.swift.util.SwiftTestUtils
Write the text to a file, returning the converted byte array for use in validating the round trip

X

X_CONTAINER_BYTES_USED - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Swift-specific header: no.
X_CONTAINER_OBJECT_COUNT - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Swift-specific header -#of objects in a container: "X-Container-Object-Count"
X_NEWEST - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Header to set when requesting the latest version of a file: : "X-Newest"
X_OBJECT_MANIFEST - Static variable in class org.apache.hadoop.fs.swift.http.SwiftProtocolConstants
Swift-specific header: object manifest used in the final upload of a multipart operation: "X-Object-Manifest"
A B C D E F G H I J K L M N O P R S T U V W X 

Copyright © 2017 Apache Software Foundation. All Rights Reserved.