This document provides summary of file system support in Bolt.
abfs)Bolt supports connecting to Azure Data Lake Storage Gen2 using the ABFS driver.
abfs://<filesystem>@<account>.dfs.core.windows.net/<path> or abfss://... for SSL.fs.azure.account.key.<account>.dfs.core.windows.netspark.hadoop.fs.azure.account.key.<account>.dfs.core.windows.net.To access abfss://myfs@myaccount.dfs.core.windows.net/data/foo.parquet:
# In Bolt configuration fs.azure.account.key.myaccount.dfs.core.windows.net=YOUR_ACCOUNT_KEY
gcs)Bolt provides a native connector for Google Cloud Storage.
URI Scheme: gs://<bucket>/<path>
Configuration: GCS access is configured under the hive. prefix.
hive.gcs.scheme: The protocol to use (http or https). Defaults to https.hive.gcs.endpoint: Optional custom endpoint for GCS-compatible storage or mocks.hive.gcs.credentials: The JSON string of the service account credentials.Limitations: The current implementation does not support file system mutation operations: rename, mkdir, and rmdir are not implemented.
To access gs://my-bucket/data/bar.orc:
# In Bolt configuration hive.gcs.credentials={"type": "service_account", "project_id": "...", ...}
Bolt supports Amazon S3 and various S3-compatible object stores like MinIO, Alibaba Cloud OSS, and Tencent Cloud COS.
URI Schemes: Bolt recognizes multiple schemes for S3-compatible access:
s3://, s3a://, s3n:// (for AWS S3)oss:// (for Alibaba Cloud OSS)cos://, cosn:// (for Tencent Cloud COS)Configuration: S3 settings are highly configurable, with global defaults under hive.s3. that can be overridden on a per-bucket basis.
hive.s3.endpoint: The S3 endpoint URL.hive.s3.aws-access-key: AWS Access Key ID.hive.s3.aws-secret-key: AWS Secret Access Key.hive.s3.use-instance-credentials: Set to true to use IAM instance profile credentials.hive.s3.iam-role: An IAM role to assume.hive.s3.iam-role-session-name: An optional session name for the assumed role.hive.s3.path-style-access: Set to true for endpoints that require path-style access (e.g., MinIO). Defaults to false (virtual-hosted style).hive.s3.ssl.enabled: Set to true to use SSL. Defaults to true.hive.s3.<key> can be overridden for a specific bucket using the format hive.s3.bucket.<BUCKET_NAME>.<key>.hive.s3.log-level: Controls the verbosity of the underlying AWS C++ SDK.hive.s3.payload-signing-policy: Configures payload signing (Always, RequestDependent, Never).1. Accessing AWS S3 with IAM credentials:
# In Bolt configuration hive.s3.use-instance-credentials=true
Accessing s3://my-aws-bucket/data/file.parquet.
2. Accessing a MinIO-style endpoint:
# In Bolt configuration for MinIO hive.s3.endpoint=http://minio-server:9000 hive.s3.aws-access-key=minioadmin hive.s3.aws-secret-key=minioadmin hive.s3.path-style-access=true hive.s3.ssl.enabled=false
Accessing s3://my-minio-bucket/data/file.parquet.
hdfs)Bolt supports the Hadoop Distributed File System (HDFS).
hdfs://<host>:<port>/<path><host>:<port>) from the full URI to derive the file path for HDFS operations.core-site.xml, environment variables) for authentication mechanisms like Kerberos.To access /user/hive/warehouse/table/data.orc on an HDFS cluster:
hdfs://namenode:9000/user/hive/warehouse/table/data.orc
Bolt includes a local file system for accessing files on the same machine.
file:// scheme./ is treated as a local file path. The file:// prefix is stripped if present.Both of the following paths are valid for accessing a local file:
file:///var/data/my-file.txt/var/data/my-file.txtrename, mkdir, or rmdir.