Class GoogleHadoopFileSystemConfiguration
GoogleHadoopFileSystem implementations.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HadoopConfigurationProperty<Long>Configuration key for default block size of a file.static final HadoopConfigurationProperty<String>Configuration key for Delegation Token binding class.static final HadoopConfigurationProperty<Boolean>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.static final HadoopConfigurationProperty<Boolean>Flag to enable finalizing object before closing bidi write channel.static final HadoopConfigurationProperty<String>Configuration key for adding a suffix to the GHFS application name sent to GCS.static final HadoopConfigurationProperty<Integer>Configuration key for a number of threads to execute batch requests.static final HadoopConfigurationProperty<Integer>Sets the total amount of time, we would wait for bidi client initialization.static final HadoopConfigurationProperty<Integer>Number of threads used by ThreadPoolExecutor in bidi channel.Configuration key to configure client to use for GCS access.Configuration key to configure the properties to optimize gcs-write.static final HadoopConfigurationProperty<Boolean>Configuration key to export logs to Google cloud logging.static final Stringstatic final HadoopConfigurationProperty<Boolean>Configuration key for enabling the use of Rewrite requests for copy operations.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling check to ensure that conflicting directories do not exist when creating files and conflicting files do not exist when creating directories.static final HadoopConfigurationProperty<String>Configuration key for the CSEK encryption algorithm.static final HadoopConfigurationProperty<RedactedString>Configuration key for the CSEK encryption key.static final HadoopConfigurationProperty<RedactedString>Configuration key for sha256 hash of the CSEK encryption key.static final HadoopConfigurationProperty<Integer>Configuration key for number of request to track for adapting the access pattern i.e.Configuration key for which type of FileChecksum to return; if a particular file doesn't support the requested type, then getFileChecksum() will return null for that file.Configuration key for customizing glob search algorithm.static final HadoopConfigurationProperty<Long>Configuration key for check interval for gRPC request timeout to GCS.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling checksum validation for the gRPC API.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling use of directpath gRPC API for read/write.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling use of the gRPC API for read/write.static final HadoopConfigurationProperty<Long>Configuration key for the message timeout for gRPC read requests to GCS.static final HadoopConfigurationProperty<Long>Configuration key for the connection timeout for gRPC read requests to GCS.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling the zero-copy deserializer for the gRPC API.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling use of traffic director gRPC API for read/write.static final HadoopConfigurationProperty<Integer>Configuration key for the number of requests to be buffered for uploads to GCS.static final HadoopConfigurationProperty<Boolean>Configuration key to configure client to use for GCS access.static final HadoopConfigurationProperty<Long>Configuration key for the message timeout for gRPC write requests to GCS.static final HadoopConfigurationProperty<Long>Configuration key for the connect timeout for gRPC write requests to GCS.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling hierarchical namespace buckets.static final HadoopConfigurationProperty<Boolean>Configuration key to enable Hierarchical Namespace (HNS) optimizations.static final HadoopConfigurationProperty<Long>Configuration key for the connect timeout for HTTP request to GCS.static final HadoopConfigurationProperty<Map<String,String>> Configuration key for the headers for HTTP request to GCS.static final HadoopConfigurationProperty<Integer>Configuration key for the max number of retries for failed HTTP request to GCS.Tunes reading objects behavior to optimize HTTP GET requests for various use cases.static final HadoopConfigurationProperty<Boolean>Iftrue, on opening a file we will proactively perform a metadataGETto check whether the object exists, even though the underlying channel will not open a data stream untilread()is actually called.static final HadoopConfigurationProperty<Long>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.static final HadoopConfigurationProperty<Long>Minimum size in bytes of the HTTP Range header set in GCS request when opening new stream to read an object.static final HadoopConfigurationProperty<Boolean>If false, reading a file with GZIP content encoding (HTTP header "Content-Encoding: gzip") will result in failure (IOException is thrown).static final HadoopConfigurationProperty<Boolean>Configuration key for enabling lazy initialization of GCS FS instance.static final HadoopConfigurationProperty<String>Configuration key for marker file pattern.static final HadoopConfigurationProperty<Integer>Configuration key for number of items to return per call to the list* GCS RPCs.static final HadoopConfigurationProperty<Integer>Configuration key for a max number of GCS RPCs in batch request.static final HadoopConfigurationProperty<Long>Configuration key for modifying the maximum amount of time to wait for empty object creation.Configuration key to enable publishing metrics to Google cloud monitoring.static final HadoopConfigurationProperty<Boolean>Flag to enable the bidirectional Rapid Storage API.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling move operation in gcs instead of copy+delete.static final HadoopConfigurationProperty<Boolean>Configuration key to enable operational level tracesstatic final HadoopConfigurationProperty<Long>Configuration key for setting write buffer size.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling GCS direct upload.static final HadoopConfigurationProperty<Long>Configuration key for setting pipe buffer size.static final HadoopConfigurationProperty<AsyncWriteChannelOptions.PipeType>Configuration key for setting pipe type.static final HadoopConfigurationProperty<Long>Configuration key for the minimal time interval between consecutive sync/hsync/hflush calls.static final HadoopConfigurationProperty<Long>Configuration for setting GCS upload cache size.static final HadoopConfigurationProperty<Long>Configuration key for setting GCS upload chunk size.static final HadoopConfigurationProperty<Long>Configuration key to configure the buffer capacity for UploadType.PARALLEL_COMPOSITE_UPLOAD.static final HadoopConfigurationProperty<Integer>Configuration key to configure the Buffers for UploadType.PARALLEL_COMPOSITE_UPLOAD.Configuration key to clean up strategy of part files created via UploadType.PARALLEL_COMPOSITE_UPLOAD.static final HadoopConfigurationProperty<String>Configuration key to set up the naming strategy of part files created via UploadType.PARALLEL_COMPOSITE_UPLOAD.static final HadoopConfigurationProperty<Boolean>Configuration key for using a local item cache to supplement GCS API "getFile" results.static final HadoopConfigurationProperty<Long>Configuration key for maximum time a GoogleCloudStorageItemInfo will remain "valid" in the performance cache before it's invalidated.static final HadoopConfigurationProperty<String>Configuration key for GCS project ID.static final HadoopConfigurationProperty<Boolean>Configuration key for enabling automatic repair of implicit directories whenever detected inside delete and rename calls.static final HadoopConfigurationProperty<Collection<String>>Configuration key for GCS Requester Pays Buckets.Configuration key for GCS project ID.static final HadoopConfigurationProperty<String>Configuration key for GCS Requester Pays Project ID.static final HadoopConfigurationProperty<Long>Configuration key for specifying max number of bytes rewritten in a single rewrite request when fs.gs.copy.with.rewrite.enable is set to 'true'.static final HadoopConfigurationProperty<String>Configuration key for the Cloud Storage API endpoint root URL.static final HadoopConfigurationProperty<String>Configuration key for the Cloud Storage API endpoint service path.static final HadoopConfigurationProperty<Boolean>If true, executes GCS requests inlistStatusandgetFileStatusmethods in parallel to reduce latency.static final HadoopConfigurationProperty<Boolean>Configuration key to enable JAVA_STORAGE client caching across FS objects.static final HadoopConfigurationProperty<Boolean>Configuration key to enable logging of additional trace details.static final HadoopConfigurationProperty<Integer>Maximum size allowed for a merged range request.static final HadoopConfigurationProperty<Integer>Minimum distance that will be seeked without merging the ranges together.static final HadoopConfigurationProperty<Integer>Maximum threads to process individual FileRange requestsstatic final HadoopConfigurationProperty<String>Configuration key for initial working directory of a GHFS instance.static final HadoopConfigurationProperty<Boolean>Configuration key for rolling checksum on writes.static final HadoopConfigurationProperty<Collection<String>>Configuration key to configure the Path where uploads will be parked on disk.static final HadoopConfigurationProperty<String>Key for the permissions that we report a file or directory to have. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReadChannelOptions(org.apache.hadoop.conf.Configuration config) Parses GCS read options from the supplied Hadoop configuration object, using the property keys documented in https://github.com/GoogleCloudDataproc/hadoop-connectors/blob/master/gcs/CONFIGURATION.mdstatic AsyncWriteChannelOptionsgetWriteChannelOptions(org.apache.hadoop.conf.Configuration config) Parses GCS write options from the supplied Hadoop configuration object, using the property keys documented in https://github.com/GoogleCloudDataproc/hadoop-connectors/blob/master/gcs/CONFIGURATION.md
-
Field Details
-
GCS_CONFIG_PREFIX
- See Also:
-
CONFIG_KEY_PREFIXES
-
GCS_ROOT_URL
Configuration key for the Cloud Storage API endpoint root URL. -
GCS_SERVICE_PATH
Configuration key for the Cloud Storage API endpoint service path. -
PERMISSIONS_TO_REPORT
Key for the permissions that we report a file or directory to have. Can either be octal or symbolic mode accepted byFsPermission(String)Default value for the permissions that we report a file or directory to have. Note: We do not really support file/dir permissions, but we need to report some permission value when Hadoop calls getFileStatus(). A MapReduce job fails if we report permissions more relaxed than the value below and this is the default File System.
-
BLOCK_SIZE
Configuration key for default block size of a file.Note that this is the size that is reported to Hadoop FS clients. It does not modify the actual block size of an underlying GCS object, because GCS JSON API does not allow modifying or querying the value. Modifying this value allows one to control how many mappers are used to process a given file.
-
GCS_HIERARCHICAL_NAMESPACE_ENABLE
Configuration key for enabling hierarchical namespace buckets.If this is enabled, rename folder operation on a Hierarchical namespace enabled bucket will be performed by calling the rename API.
-
DELEGATION_TOKEN_BINDING_CLASS
Configuration key for Delegation Token binding class. Default value: none -
GCS_PROJECT_ID
Configuration key for GCS project ID. Default value: none -
GCS_WORKING_DIRECTORY
Configuration key for initial working directory of a GHFS instance. Default value: '/' -
GCE_BUCKET_DELETE_ENABLE
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. If false, any operation that normally would have deleted the bucket will be ignored instead. Setting to 'false' preserves the typical behavior of "rm -rf /" which translates to deleting everything inside of root, but without clobbering the filesystem authority corresponding to that root path in the process. -
GCS_REQUESTER_PAYS_MODE
public static final HadoopConfigurationProperty<RequesterPaysOptions.RequesterPaysMode> GCS_REQUESTER_PAYS_MODEConfiguration key for GCS project ID. Default value: "DISABLED" -
GCS_REQUESTER_PAYS_PROJECT_ID
Configuration key for GCS Requester Pays Project ID. Default value: none -
GCS_REQUESTER_PAYS_BUCKETS
Configuration key for GCS Requester Pays Buckets. Default value: none -
GCS_FILE_CHECKSUM_TYPE
public static final HadoopConfigurationProperty<GoogleHadoopFileSystem.GcsFileChecksumType> GCS_FILE_CHECKSUM_TYPEConfiguration key for which type of FileChecksum to return; if a particular file doesn't support the requested type, then getFileChecksum() will return null for that file. -
GCS_PERFORMANCE_CACHE_ENABLE
Configuration key for using a local item cache to supplement GCS API "getFile" results. This provides faster access to recently queried data. Because the data is cached, modifications made outside of this instance may not be immediately reflected. The performance cache can be used in conjunction with other caching options. -
GCS_PERFORMANCE_CACHE_MAX_ENTRY_AGE
Configuration key for maximum time a GoogleCloudStorageItemInfo will remain "valid" in the performance cache before it's invalidated. -
GCS_STATUS_PARALLEL_ENABLE
If true, executes GCS requests inlistStatusandgetFileStatusmethods in parallel to reduce latency. -
GCS_LAZY_INITIALIZATION_ENABLE
Configuration key for enabling lazy initialization of GCS FS instance. -
GCS_REPAIR_IMPLICIT_DIRECTORIES_ENABLE
Configuration key for enabling automatic repair of implicit directories whenever detected inside delete and rename calls. -
GCS_CREATE_ITEMS_CONFLICT_CHECK_ENABLE
Configuration key for enabling check to ensure that conflicting directories do not exist when creating files and conflicting files do not exist when creating directories. -
GCS_GLOB_ALGORITHM
public static final HadoopConfigurationProperty<GoogleHadoopFileSystem.GlobAlgorithm> GCS_GLOB_ALGORITHMConfiguration key for customizing glob search algorithm. -
GCS_MARKER_FILE_PATTERN
Configuration key for marker file pattern. Default value: none -
GCS_MAX_REQUESTS_PER_BATCH
Configuration key for a max number of GCS RPCs in batch request. -
GCS_BATCH_THREADS
Configuration key for a number of threads to execute batch requests. -
GCS_FADVISE_REQUEST_TRACK_COUNT
Configuration key for number of request to track for adapting the access pattern i.e. fadvise: AUTO & AUTO_RANDOM. -
GCS_COPY_WITH_REWRITE_ENABLE
Configuration key for enabling the use of Rewrite requests for copy operations. Rewrite request has the same effect as Copy request, but it can handle moving large objects that may potentially time out a Copy request. -
GCS_REWRITE_MAX_CHUNK_SIZE
Configuration key for specifying max number of bytes rewritten in a single rewrite request when fs.gs.copy.with.rewrite.enable is set to 'true'. -
GCS_MAX_LIST_ITEMS_PER_CALL
Configuration key for number of items to return per call to the list* GCS RPCs. -
GCS_HTTP_MAX_RETRY
Configuration key for the max number of retries for failed HTTP request to GCS. Note that the connector will retry *up to* the number of times as specified, using a default ExponentialBackOff strategy.Also, note that this number will only control the number of retries in the low level HTTP request implementation.
-
GCS_HTTP_CONNECT_TIMEOUT
Configuration key for the connect timeout for HTTP request to GCS. -
GCS_APPLICATION_NAME_SUFFIX
Configuration key for adding a suffix to the GHFS application name sent to GCS. -
GCS_MAX_WAIT_TIME_EMPTY_OBJECT_CREATE
Configuration key for modifying the maximum amount of time to wait for empty object creation. -
GCS_OUTPUT_STREAM_BUFFER_SIZE
Configuration key for setting write buffer size. -
GCS_OUTPUT_STREAM_PIPE_BUFFER_SIZE
Configuration key for setting pipe buffer size. -
GCS_OUTPUT_STREAM_PIPE_TYPE
public static final HadoopConfigurationProperty<AsyncWriteChannelOptions.PipeType> GCS_OUTPUT_STREAM_PIPE_TYPEConfiguration key for setting pipe type. -
GCS_OUTPUT_STREAM_UPLOAD_CHUNK_SIZE
Configuration key for setting GCS upload chunk size. -
GCS_OUTPUT_STREAM_UPLOAD_CACHE_SIZE
Configuration for setting GCS upload cache size. -
GCS_OUTPUT_STREAM_DIRECT_UPLOAD_ENABLE
Configuration key for enabling GCS direct upload. -
GCS_OUTPUT_STREAM_SYNC_MIN_INTERVAL
Configuration key for the minimal time interval between consecutive sync/hsync/hflush calls. -
GCS_INPUT_STREAM_FAST_FAIL_ON_NOT_FOUND_ENABLE
public static final HadoopConfigurationProperty<Boolean> GCS_INPUT_STREAM_FAST_FAIL_ON_NOT_FOUND_ENABLEIftrue, on opening a file we will proactively perform a metadataGETto check whether the object exists, even though the underlying channel will not open a data stream untilread()is actually called. This is necessary to technically match the expected behavior of Hadoop filesystems, but incurs an extra latency overhead onopen(). If the calling code can handle late failures on not-found errors, or has independently already ensured that a file exists before callingopen(), then you can set this tofalsefor more efficient reads.Note, this is known to not work with YARN
CommonNodeLabelsManagerand potentially other Hadoop components. That's why it's not recommended to set this property tofalsecluster-wide, instead set it for a specific job/application that is compatible with it. -
GCS_INPUT_STREAM_SUPPORT_GZIP_ENCODING_ENABLE
public static final HadoopConfigurationProperty<Boolean> GCS_INPUT_STREAM_SUPPORT_GZIP_ENCODING_ENABLEIf false, reading a file with GZIP content encoding (HTTP header "Content-Encoding: gzip") will result in failure (IOException is thrown). -
GCS_INPUT_STREAM_INPLACE_SEEK_LIMIT
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_INPUT_STREAM_FADVISE
public static final HadoopConfigurationProperty<GoogleCloudStorageReadOptions.Fadvise> GCS_INPUT_STREAM_FADVISETunes reading objects behavior to optimize HTTP GET requests for various use cases. -
GCS_INPUT_STREAM_MIN_RANGE_REQUEST_SIZE
Minimum size in bytes of the HTTP Range header set in GCS request when opening new stream to read an object. -
GCS_VECTORED_READ_RANGE_MIN_SEEK
Minimum distance that will be seeked without merging the ranges together. -
GCS_VECTORED_READ_MERGED_RANGE_MAX_SIZE
Maximum size allowed for a merged range request. -
GCS_VECTORED_READ_THREADS
Maximum threads to process individual FileRange requests -
GCS_GRPC_ENABLE
Configuration key for enabling use of the gRPC API for read/write. -
GCS_GRPC_CHECKSUMS_ENABLE
Configuration key for enabling checksum validation for the gRPC API. -
GCS_GRPC_CHECK_INTERVAL_TIMEOUT
Configuration key for check interval for gRPC request timeout to GCS. -
GCS_GRPC_READ_TIMEOUT
Configuration key for the connection timeout for gRPC read requests to GCS. -
GCS_GRPC_READ_MESSAGE_TIMEOUT
Configuration key for the message timeout for gRPC read requests to GCS. -
GCS_GRPC_READ_ZEROCOPY_ENABLE
Configuration key for enabling the zero-copy deserializer for the gRPC API. -
GCS_GRPC_UPLOAD_BUFFERED_REQUESTS
Configuration key for the number of requests to be buffered for uploads to GCS. -
GCS_GRPC_WRITE_TIMEOUT
Configuration key for the connect timeout for gRPC write requests to GCS. -
GCS_GRPC_WRITE_MESSAGE_TIMEOUT
Configuration key for the message timeout for gRPC write requests to GCS. -
GCS_GRPC_DIRECTPATH_ENABLE
Configuration key for enabling use of directpath gRPC API for read/write. -
GCS_GRPC_TRAFFICDIRECTOR_ENABLE
Configuration key for enabling use of traffic director gRPC API for read/write. -
GCS_HTTP_HEADERS
Configuration key for the headers for HTTP request to GCS. -
GCS_ENCRYPTION_ALGORITHM
Configuration key for the CSEK encryption algorithm. -
GCS_ENCRYPTION_KEY
Configuration key for the CSEK encryption key. -
GCS_ENCRYPTION_KEY_HASH
Configuration key for sha256 hash of the CSEK encryption key. -
GCS_METRICS_SINK
public static final HadoopConfigurationProperty<GoogleCloudStorageOptions.MetricsSink> GCS_METRICS_SINKConfiguration key to enable publishing metrics to Google cloud monitoring. -
GCS_TRACE_LOG_ENABLE
Configuration key to enable logging of additional trace details. -
GCS_OPERATION_TRACE_LOG_ENABLE
Configuration key to enable operational level traces -
GCS_CLOUD_LOGGING_ENABLE
Configuration key to export logs to Google cloud logging. -
GCS_CLIENT_TYPE
public static final HadoopConfigurationProperty<GoogleCloudStorageFileSystemOptions.ClientType> GCS_CLIENT_TYPEConfiguration key to configure client to use for GCS access. -
GCS_GRPC_WRITE_ENABLE
Configuration key to configure client to use for GCS access. -
GCS_CLIENT_UPLOAD_TYPE
public static final HadoopConfigurationProperty<AsyncWriteChannelOptions.UploadType> GCS_CLIENT_UPLOAD_TYPEConfiguration key to configure the properties to optimize gcs-write. This config will be effective only if fs.gs.client.type is set to STORAGE_CLIENT. -
GCS_STORAGE_CLIENT_CACHING
Configuration key to enable JAVA_STORAGE client caching across FS objects. This config will be effective only if fs.gs.client.type is set to STORAGE_CLIENT. -
GCS_WRITE_TEMPORARY_FILES_PATH
Configuration key to configure the Path where uploads will be parked on disk. If not set then uploads will be parked at default location pointed by java-storage client. This will only be effective if fs.gs.client.upload.type is set to non-default value. -
GCS_PCU_BUFFER_COUNT
Configuration key to configure the Buffers for UploadType.PARALLEL_COMPOSITE_UPLOAD. It is in alignment with configuration of java-storage client https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy#com_google_cloud_storage_ParallelCompositeUploadBlobWriteSessionConfig_BufferAllocationStrategy_fixedPool_int_int_ -
GCS_PCU_BUFFER_CAPACITY
Configuration key to configure the buffer capacity for UploadType.PARALLEL_COMPOSITE_UPLOAD. It is in alignment with configuration of java-storage client https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.BufferAllocationStrategy#com_google_cloud_storage_ParallelCompositeUploadBlobWriteSessionConfig_BufferAllocationStrategy_fixedPool_int_int_ -
GCS_PCU_PART_FILE_CLEANUP_TYPE
public static final HadoopConfigurationProperty<AsyncWriteChannelOptions.PartFileCleanupType> GCS_PCU_PART_FILE_CLEANUP_TYPEConfiguration key to clean up strategy of part files created via UploadType.PARALLEL_COMPOSITE_UPLOAD. It is in alignment with configuration of java-storage client https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartCleanupStrategy -
GCS_PCU_PART_FILE_NAME_PREFIX
Configuration key to set up the naming strategy of part files created via UploadType.PARALLEL_COMPOSITE_UPLOAD. It is in alignment with configuration of java-storage client https://cloud.google.com/java/docs/reference/google-cloud-storage/latest/com.google.cloud.storage.ParallelCompositeUploadBlobWriteSessionConfig.PartNamingStrategy -
GCS_WRITE_ROLLING_CHECKSUM_ENABLE
Configuration key for rolling checksum on writes.If this is enabled, write channel will calculate rolling crc32c checksum and compare it from server response.
-
GCS_HNS_OPTIMIZATION_ENABLE
Configuration key to enable Hierarchical Namespace (HNS) optimizations. -
GCS_OPERATION_MOVE_ENABLE
Configuration key for enabling move operation in gcs instead of copy+delete. -
GCS_OPERATION_BIDI_API_ENABLE
Flag to enable the bidirectional Rapid Storage API. -
GCS_BIDI_THREAD_COUNT
Number of threads used by ThreadPoolExecutor in bidi channel. This executor is used to read individual range and populate the buffer. -
GCS_BIDI_CLIENT_INITIALIZATION_TIMEOUT
Sets the total amount of time, we would wait for bidi client initialization. -
GCS_APPENDABLE_OBJECTS_FINALIZE_BEFORE_CLOSE
public static final HadoopConfigurationProperty<Boolean> GCS_APPENDABLE_OBJECTS_FINALIZE_BEFORE_CLOSEFlag to enable finalizing object before closing bidi write channel.
-
-
Constructor Details
-
GoogleHadoopFileSystemConfiguration
public GoogleHadoopFileSystemConfiguration()
-
-
Method Details
-
getReadChannelOptions
public static GoogleCloudStorageReadOptions getReadChannelOptions(org.apache.hadoop.conf.Configuration config) Parses GCS read options from the supplied Hadoop configuration object, using the property keys documented in https://github.com/GoogleCloudDataproc/hadoop-connectors/blob/master/gcs/CONFIGURATION.md- Parameters:
config- the Hadoop Configuration object to parse
-
getWriteChannelOptions
public static AsyncWriteChannelOptions getWriteChannelOptions(org.apache.hadoop.conf.Configuration config) Parses GCS write options from the supplied Hadoop configuration object, using the property keys documented in https://github.com/GoogleCloudDataproc/hadoop-connectors/blob/master/gcs/CONFIGURATION.md- Parameters:
config- the Hadoop Configuration object to parse
-