Skip navigation links
A B C D E F G H I L M O P R S T U V W 

A

append(Path, int, Progressable) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Appends to an existing file (optional operation).
AUTHENTICATION_PREFIX - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Prefix to use for common authentication keys.

B

BLOCK_SIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
BLOCK_SIZE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for default block size of a file.
BUFFERSIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Hadoop passes 4096 bytes as buffer size which causes poor perf.
BUFFERSIZE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for setting IO buffer size.

C

checkPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
 
checkPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
checkPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
Only accept valid AbstractFileSystem and GoogleHadoopFileSystem Paths.
cleanCache(DirectoryListCache) - Static method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemCacheCleaner
Iterates over items in cache, object-first then buckets, allowing the list operations to perform cache-expiration as they run.
close() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
close() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 
com.google.cloud.hadoop.fs.gcs - package com.google.cloud.hadoop.fs.gcs
 
completeLocalOutput(Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
CompositeLimitExceededException - Exception in com.google.cloud.hadoop.fs.gcs
Throw when an attempted operation is prohibited because it would require exceeding the GCS component limit.
CompositeLimitExceededException() - Constructor for exception com.google.cloud.hadoop.fs.gcs.CompositeLimitExceededException
 
CompositeLimitExceededException(String) - Constructor for exception com.google.cloud.hadoop.fs.gcs.CompositeLimitExceededException
 
configureBuckets(String, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Validates and possibly creates the system bucket.
configureBuckets(String, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Validates and possibly creates the system bucket.
copyFromLocalFile(boolean, boolean, Path[], Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
copyFromLocalFile(boolean, boolean, Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
copyToLocalFile(boolean, Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
counters - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Map of counter values
create(Path, FsPermission, boolean, int, short, long, Progressable) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Opens the given file for writing.
create(Configuration) - Static method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate
Create a new ParentTimestampUpdateIncludePredicate from the passed Hadoop configuration object.
createCounterMap() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
createInternal(Path, EnumSet<CreateFlag>, FsPermission, int, short, long, Progressable, Options.ChecksumOpt, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 

D

DEFAULT_FILTER - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default PathFilter that accepts all paths.
defaultBlockSize - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default block size.
delete(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Deprecated.
Use delete(Path, boolean) instead
delete(Path, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Deletes the given file or directory.
delete(Path, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
deleteOnExit(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 

E

ENABLE_GCE_SERVICE_ACCOUNT_AUTH_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling GCE service account authentication.

F

FileSystemDescriptor - Interface in com.google.cloud.hadoop.fs.gcs
FileSystemDescriptor defines the interface containing all the methods which are necessary to differentiate the behavior of different Hadoop FileSystem implementations, including the URI scheme with which an implementation is identified.

G

GCE_BUCKET_DELETE_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCE_BUCKET_DELETE_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
If true, recursive delete on a path that refers to a GCS bucket itself ('/' for any bucket-rooted GoogleHadoopFileSystem) or delete on that path when it's empty will result in fully deleting the GCS bucket.
GCS_APPLICATION_NAME_SUFFIX_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default suffix to add to the application name.
GCS_APPLICATION_NAME_SUFFIX_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for adding a suffix to the GHFS application name sent to GCS.
GCS_CLIENT_ID_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS client ID.
GCS_CLIENT_SECRET_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS client secret.
GCS_CREATE_SYSTEM_BUCKET_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_CREATE_SYSTEM_BUCKET_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for flag to indicate whether system bucket should be created if it does not exist.
GCS_ENABLE_COPY_WITH_REWRITE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_COPY_WITH_REWRITE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling the use of Rewrite requests for copy operations.
GCS_ENABLE_FLAT_GLOB_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_FLAT_GLOB_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling the use of a large flat listing to pre-populate possible glob matches in a single API call before running the core globbing logic in-memory rather than sequentially and recursively performing API calls.
GCS_ENABLE_INFER_IMPLICIT_DIRECTORIES_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_INFER_IMPLICIT_DIRECTORIES_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling automatic inference of implicit directories.
GCS_ENABLE_MARKER_FILE_CREATION_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_MARKER_FILE_CREATION_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling the use of marker files during file creation.
GCS_ENABLE_METADATA_CACHE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_METADATA_CACHE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for using a local metadata cache to supplement GCS API "list" results; this allows same-client create() to immediately be visible to a subsequent list() call.
GCS_ENABLE_PERFORMANCE_CACHE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_PERFORMANCE_CACHE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for using a local item cache to supplement GCS API "getFile" results.
GCS_ENABLE_REPAIR_IMPLICIT_DIRECTORIES_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_ENABLE_REPAIR_IMPLICIT_DIRECTORIES_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for enabling automatic repair of implicit directories whenever detected inside listStatus and globStatus calls, or other methods which may indirectly call listStatus and/or globaStatus.
GCS_FILE_SIZE_LIMIT_250GB - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for setting 250GB upper limit on file size to gain higher write throughput.
GCS_FILE_SIZE_LIMIT_250GB_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_HTTP_TRANSPORT_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default to the default specified in HttpTransportFactory.
GCS_HTTP_TRANSPORT_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for the name of HttpTransport class to use for connecting to GCS.
GCS_INPUTSTREAM_FAST_FAIL_ON_NOT_FOUND_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_INPUTSTREAM_FAST_FAIL_ON_NOT_FOUND_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
If true, on opening a file we will proactively perform a metadata GET to check whether the object exists, even though the underlying channel will not open a data stream until read() is actually called so that streams can seek to nonzero file positions without incurring an extra stream creation.
GCS_INPUTSTREAM_INPLACE_SEEK_LIMIT_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_INPUTSTREAM_INPLACE_SEEK_LIMIT_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
If forward seeks are within this many bytes of the current position, seeks are performed by reading and discarding bytes in-place rather than opening a new underlying stream.
GCS_INPUTSTREAM_INTERNALBUFFER_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_INPUTSTREAM_INTERNALBUFFER_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
If true, the returned FSDataInputStream from the open(Path) method will hold an internal ByteBuffer of size fs.gs.io.buffersize which it pre-fills on each read, and can efficiently seek within the internal buffer.
GCS_INPUTSTREAM_SUPPORT_CONTENT_ENCODING_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_INPUTSTREAM_SUPPORT_CONTENT_ENCODING_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
If true, input streams will proactively check the "content-encoding" header of underlying objects during reads for special handling of cases where content-encoding causes the reported object sizes to not match the actual number of read bytes due to the content being decoded in-transit; such encoded objects also aren't suitable for splitting or resuming on failure, so the underlying channel will restart from byte 0 and discard the requisite number of bytes to seek to a desired position or resume in such cases.
GCS_MARKER_FILE_PATTERN_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for marker file pattern.
GCS_MAX_LIST_ITEMS_PER_CALL - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for number of items to return per call to the list* GCS RPCs.
GCS_MAX_LIST_ITEMS_PER_CALL_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_MAX_WAIT_MILLIS_EMPTY_OBJECT_CREATE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default to 3 seconds.
GCS_MAX_WAIT_MILLIS_EMPTY_OBJECT_CREATE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for modifying the maximum amount of time to wait for empty object creation.
GCS_METADATA_CACHE_DIRECTORY_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_METADATA_CACHE_DIRECTORY_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Only used if fs.gs.metadata.cache.type is FILESYSTEM_BACKED, specifies the local path to use as the base path for storing mirrored GCS metadata.
GCS_METADATA_CACHE_MAX_ENTRY_AGE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_METADATA_CACHE_MAX_ENTRY_AGE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Maximum number of milliseconds a cache entry will remain in the list-consistency cache, even as an id-only entry (no risk of stale GoogleCloudStorageItemInfo).
GCS_METADATA_CACHE_MAX_INFO_AGE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_METADATA_CACHE_MAX_INFO_AGE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Maximum number of milliseconds a GoogleCloudStorageItemInfo will remain "valid" in the list-consistency cache, after which the next attempt to fetch the itemInfo will require fetching fresh info from a GoogleCloudStorage instance.
GCS_METADATA_CACHE_TYPE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_METADATA_CACHE_TYPE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for specifying which implementation of DirectoryListCache to use for supplementing GCS API "list" results.
GCS_OUTPUTSTREAM_TYPE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_OUTPUTSTREAM_TYPE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for which type of output stream to use; different options may have different degrees of support for advanced features like hsync() and different performance characteristics.
GCS_PARENT_TIMESTAMP_UPDATE_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_PARENT_TIMESTAMP_UPDATE_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for whether or not we should update timestamps for parent directories when we create new files in them.
GCS_PARENT_TIMESTAMP_UPDATE_EXCLUDES_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_PARENT_TIMESTAMP_UPDATE_EXCLUDES_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key containing a comma-separated list of sub-strings that when matched will cause a particular directory to not have its modification timestamp updated.
GCS_PARENT_TIMESTAMP_UPDATE_INCLUDES_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_PARENT_TIMESTAMP_UPDATE_INCLUDES_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key containing a comma-separated list of sub-strings that when matched will cause a particular directory to have its modification timestamp updated.
GCS_PERFORMANCE_CACHE_LIST_CACHING_ENABLE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_PERFORMANCE_CACHE_LIST_CACHING_ENABLE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for whether or not to enable list caching for the performance cache.
GCS_PERFORMANCE_CACHE_MAX_ENTRY_AGE_MILLIS_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
GCS_PERFORMANCE_CACHE_MAX_ENTRY_AGE_MILLIS_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for maximum number of milliseconds a GoogleCloudStorageItemInfo will remain "valid" in the performance cache before it's invalidated.
GCS_PROJECT_ID_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS project ID.
GCS_PROXY_ADDRESS_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default to no proxy.
GCS_PROXY_ADDRESS_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for setting a proxy for the connector to use to connect to GCS.
GCS_REQUESTER_PAYS_BUCKETS_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS Requester Pays Buckets.
GCS_REQUESTER_PAYS_MODE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS project ID.
GCS_REQUESTER_PAYS_PROJECT_ID_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for GCS Requester Pays Project ID.
GCS_SYSTEM_BUCKET_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for system bucket name.
GCS_WORKING_DIRECTORY_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for initial working directory of a GHFS instance.
gcsfs - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Underlying GCS file system object.
get() - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior
Get the ListStatusFileNotFoundBehavior for the currently running Hadoop version.
get(HadoopVersionInfo) - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior
Get the ListStatusFileNotFoundBehavior for the given hadoop version/
getCanonicalServiceName() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
getContentSummary(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getDefaultBlockSize() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getDefaultPort() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
The default port is listed as -1 as an indication that ports are not used.
getDefaultReplication() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets the default replication factor.
getDefaultWorkingDirectory() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Gets the default value of working directory.
getDefaultWorkingDirectory() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets the default value of working directory.
getDefaultWorkingDirectory() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
Gets the default value of working directory.
getDelegationToken(String) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getFileBlockLocations(Path, long, long) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getFileChecksum(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getFileChecksum(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getFileStatus(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets status of the given path item.
getFileStatus(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getFileSystemRoot() - Method in interface com.google.cloud.hadoop.fs.gcs.FileSystemDescriptor
Returns the Hadoop path representing the root of the FileSystem associated with this FileSystemDescriptor.
getFileSystemRoot() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
 
getFileSystemRoot() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getFileSystemRoot() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
 
getFsStatus() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getGcsFs() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets GCS FS instance.
getGcsPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Translates a "gs:/" style hadoopPath (or relative path which is not fully-qualified) into the appropriate GCS path which is compatible with the underlying GcsFs or gsutil.
getGcsPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets GCS path corresponding to the given Hadoop path, which can be relative or absolute, and can have either gs:// or gs:/ forms.
getGcsPath(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
 
getHadoopPath(URI) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Validates GCS Path belongs to this file system.
getHadoopPath(URI) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets Hadoop path corresponding to the given GCS path.
getHadoopPath(URI) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
Gets Hadoop path corresponding to the given GCS path.
getHadoopScheme() - Method in interface com.google.cloud.hadoop.fs.gcs.FileSystemDescriptor
Deprecated.
getHadoopScheme() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Deprecated.
getHomeDirectory() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Returns home directory of the current user.
getHomeDirectorySubpath() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Override to allow a homedir subpath which sits directly on our FileSystem root.
getHomeDirectorySubpath() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Returns an unqualified path without any leading slash, relative to the filesystem root, which serves as the home directory of the current user; see getHomeDirectory for a description of what the home directory means.
getHomeDirectorySubpath() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
Returns an unqualified path without any leading slash, relative to the filesystem root, which serves as the home directory of the current user; see getHomeDirectory for a description of what the home directory means.
getScheme() - Method in interface com.google.cloud.hadoop.fs.gcs.FileSystemDescriptor
Returns the URI scheme for the Hadoop FileSystem associated with this FileSystemDescriptor.
getScheme() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
As the global-rooted FileSystem, our hadoop-path "scheme" is exactly equal to the general GCS scheme.
getScheme() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getScheme() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
As the global-rooted FileSystem, our hadoop-path "scheme" is distinct from GCS's scheme.
getServerDefaults() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getUri() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Returns a URI of the root of this FileSystem.
getUri() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
This is overridden to use GoogleHadoopFileSystem's URI, because AbstractFileSystem appends the default port to the authority.
getUriDefaultPort() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
getUsed() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
getWorkingDirectory() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Gets the current working directory.
GHFS_ID - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Identifies this version of the GoogleHadoopFileSystemBase library.
globStatus(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Returns an array of FileStatus objects whose path names match pathPattern.
globStatus(Path, PathFilter) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Returns an array of FileStatus objects whose path names match pathPattern and is accepted by the user-supplied path filter.
GoogleHadoopFileSystem - Class in com.google.cloud.hadoop.fs.gcs
GoogleHadoopFileSystem is a version of GoogleHadoopFileSystemBase which is rooted in a single bucket at initialization time; in this case, Hadoop paths no longer correspond directly to general GCS paths, and all Hadoop operations going through this FileSystem will never touch any GCS bucket other than the bucket on which this FileSystem is rooted.
GoogleHadoopFileSystem() - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Constructs an instance of GoogleHadoopFileSystem; the internal GoogleCloudStorageFileSystem will be set up with config settings when initialize() is called.
GoogleHadoopFileSystem(GoogleCloudStorageFileSystem) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystem
Constructs an instance of GoogleHadoopFileSystem using the provided GoogleCloudStorageFileSystem; initialize() will not re-initialize it.
GoogleHadoopFileSystemBase - Class in com.google.cloud.hadoop.fs.gcs
This class provides a Hadoop compatible File System on top of Google Cloud Storage (GCS).
GoogleHadoopFileSystemBase() - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Constructs an instance of GoogleHadoopFileSystemBase; the internal GoogleCloudStorageFileSystem will be set up with config settings when initialize() is called.
GoogleHadoopFileSystemBase(GoogleCloudStorageFileSystem) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Constructs an instance of GoogleHadoopFileSystemBase using the provided GoogleCloudStorageFileSystem; initialize() will not re-initialize it.
GoogleHadoopFileSystemBase.Counter - Enum in com.google.cloud.hadoop.fs.gcs
Defines names of counters we track for each operation.
GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior - Enum in com.google.cloud.hadoop.fs.gcs
Behavior of listStatus when a path is not found.
GoogleHadoopFileSystemBase.OutputStreamType - Enum in com.google.cloud.hadoop.fs.gcs
GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate - Class in com.google.cloud.hadoop.fs.gcs
A predicate that processes individual directory paths and evaluates the conditions set in fs.gs.parent.timestamp.update.enable, fs.gs.parent.timestamp.update.substrings.include and fs.gs.parent.timestamp.update.substrings.exclude to determine if a path should be ignored when running directory timestamp updates.
GoogleHadoopFileSystemCacheCleaner - Class in com.google.cloud.hadoop.fs.gcs
A tool that will perform GC on FileSystemBackedDirectoryListCache backing stores.
GoogleHadoopFileSystemCacheCleaner() - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemCacheCleaner
 
GoogleHadoopFS - Class in com.google.cloud.hadoop.fs.gcs
GoogleHadoopFS provides a YARN compatible Abstract File System on top of Google Cloud Storage (GCS).
GoogleHadoopFS(URI, Configuration) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
GoogleHadoopFS(GoogleHadoopFileSystem, URI, Configuration) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
GoogleHadoopGlobalRootedFileSystem - Class in com.google.cloud.hadoop.fs.gcs
Deprecated.
This implementation is deprecated and relies on the deprecated systemBucket property. Use GoogleHadoopFileSystem instead.
GoogleHadoopGlobalRootedFileSystem() - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
Constructs an instance of GoogleHadoopGlobalRootedFileSystem; the internal GoogleCloudStorageFileSystem will be set up with config settings when initialize() is called.
GoogleHadoopGlobalRootedFileSystem(GoogleCloudStorageFileSystem) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopGlobalRootedFileSystem
Deprecated.
Constructs an instance of GoogleHadoopGlobalRootedFileSystem using the provided GoogleCloudStorageFileSystem; initialize() will not re-initialize it.
GoogleHadoopSyncableOutputStream - Class in com.google.cloud.hadoop.fs.gcs
GoogleHadoopSyncableOutputStream implements the Syncable interface by composing objects created in separate underlying streams for each hsync() call.
GoogleHadoopSyncableOutputStream(GoogleHadoopFileSystemBase, URI, int, FileSystem.Statistics, CreateFileOptions) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
Creates a new GoogleHadoopSyncableOutputStream with initial stream initialized and expected to begin at file-offset 0.

H

handle(String) - Method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior
Perform version specific handling for a missing path.
hflush() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
There is no way to flush data to become available for readers without a full-fledged hsync(), so this method is a no-op.
hsync() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
This overrides Syncable.hsync(), but is not annotated as such because the method doesn't exist in Hadoop 1.

I

initialize(URI, Configuration) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
See GoogleHadoopFileSystemBase.initialize(URI, Configuration, boolean) for details; calls with third arg defaulting to 'true' for initializing the superclass.
initialize(URI, Configuration, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Initializes this file system instance.
initUri - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
The URI the File System is passed in initialize.
isValidName(String) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
Follow HDFS conventions except allow for ':' in paths.

L

listStatus(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Lists file status.
listStatus(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
listStatusFileNotFoundBehavior - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
LOG - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Logger.
LOG - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemCacheCleaner
 
LOG - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 

M

main(String[]) - Static method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemCacheCleaner
 
makeQualified(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Overridden to make root it's own parent.
MAX_COMPOSITE_COMPONENTS - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 
mkdir(Path, FsPermission, boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
mkdirs(Path, FsPermission) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Makes the given path and all non-existent parents directories.
MR_JOB_HISTORY_DONE_DIR_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key of the MR done directory.
MR_JOB_HISTORY_INTERMEDIATE_DONE_DIR_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for the MR intermediate done dir.

O

open(Path, int) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Opens the given file for reading.
open(Path, int) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 

P

ParentTimestampUpdateIncludePredicate(boolean, List<String>, List<String>) - Constructor for class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate
 
PATH_CODEC_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Use the default path codec.
PATH_CODEC_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for changing the path codec from legacy to 'uri path encoding'.
PATH_CODEC_USE_LEGACY_ENCODING - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Use LEGACY_PATH_CODEC.
PATH_CODEC_USE_URI_ENCODING - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Use new URI_ENCODED_PATH_CODEC.
PERMISSIONS_TO_REPORT_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default value for the permissions that we report a file or directory to have.
PERMISSIONS_TO_REPORT_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Key for the permissions that we report a file or directory to have.
processDeleteOnExit() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
PROPERTIES_FILE - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
A resource file containing GCS related build properties.

R

rename(Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Renames src to dst.
renameInternal(Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
REPLICATION_FACTOR_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Default value of replication factor.

S

SERVICE_ACCOUNT_AUTH_EMAIL_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key specifying the email address of the service-account with which to authenticate.
SERVICE_ACCOUNT_AUTH_KEYFILE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key specifying local file containing a service-account private .p12 keyfile.
setListStatusFileNotFoundBehavior(GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
setOwner(Path, String, String) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
setOwner(Path, String, String) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
setPermission(Path, FsPermission) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
setPermission(Path, FsPermission) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
setReplication(Path, short) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
setTimes(Path, long, long) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
setTimes(Path, long, long) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
setVerifyChecksum(boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
setVerifyChecksum(boolean) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS
 
setWorkingDirectory(Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Sets the current working directory to the given path.
shouldUpdateTimestamp(URI) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ParentTimestampUpdateIncludePredicate
Determine if updating directory timestamps should be ignored.
startLocalOutput(Path, Path) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
 
sync() - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 
systemBucket - Variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Deprecated.

T

TEMPFILE_PREFIX - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 

U

UNKNOWN_VERSION - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
The version returned when one cannot be found in properties.

V

valueOf(String) - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.Counter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.OutputStreamType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.Counter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.ListStatusFileNotFoundBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase.OutputStreamType
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Current version.
VERSION_PROPERTY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
The key in the PROPERTIES_FILE that contains the version built.

W

write(int) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 
write(byte[], int, int) - Method in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream
 
WRITE_BUFFERSIZE_DEFAULT - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
WRITE_BUFFERSIZE_KEY - Static variable in class com.google.cloud.hadoop.fs.gcs.GoogleHadoopFileSystemBase
Configuration key for setting write buffer size.
A B C D E F G H I L M O P R S T U V W 
Skip navigation links

Copyright © 2018. All rights reserved.