Skip to main content

SeaweedFS

Before creating a catalog or running a load or export job, ensure that the warehouse can reach the service endpoint and that its credentials have the required metadata and data permissions. For private endpoints or service-side credential files, coordinate connectivity and provisioning with VeloDB Cloud support.

This document describes the parameters required to access SeaweedFS, which apply to the following scenarios:

  • Catalog properties
  • Table Valued Function properties
  • Broker Load properties
  • Export properties
  • Outfile properties

VeloDB Cloud uses the S3 Client to access SeaweedFS through the S3-compatible protocol. This page covers SeaweedFS S3 (normal) buckets. For Iceberg tables stored in SeaweedFS S3 Table Buckets (REST Catalog + S3 served from the same weed process), see Integration with SeaweedFS.

Quick start with weed mini​

weed mini brings up a SeaweedFS S3 endpoint in a single process, seeding credentials and a pre-created bucket from environment variables:

AWS_ACCESS_KEY_ID=<access-key> \
AWS_SECRET_ACCESS_KEY=<secret-key> \
S3_BUCKET=my-bucket \
weed mini -dir=/data

On the SeaweedFS host, this creates an S3 endpoint on port 8333, a my-bucket bucket, and the supplied credentials. Expose an authenticated HTTPS endpoint reachable from the warehouse before connecting; a workstation localhost endpoint is not reachable from the warehouse. See Quick Start with weed mini for Docker, custom ports, multiple buckets, and reverse-proxy options.

Parameters​

SeaweedFS is accessed via the S3-compatible protocol, so it uses the same s3.* properties as AWS S3.

Property NameDescriptionDefaultRequired
s3.endpointSeaweedFS S3 gateway endpoint, for example https://<seaweedfs-host>Yes
s3.access_keyAccess key configured in the SeaweedFS S3 IAM configYes
s3.secret_keySecret key paired with s3.access_keyYes
s3.regionRegion. SeaweedFS does not validate the value but the AWS S3 SDK requires one, e.g. us-east-1Yes
s3.use_path_styleSet to true. SeaweedFS serves objects under http://<endpoint>/<bucket>/<key>FALSENo
s3.connection.maximumMaximum number of connections to the SeaweedFS S3 gateway50No
s3.connection.request.timeoutRequest timeout in milliseconds3000No
s3.connection.timeoutConnection establishment timeout in milliseconds1000No

Use path-style access​

SeaweedFS uses path-style addressing (http://<endpoint>/<bucket>/<key>) and does not provision per-bucket DNS subdomains, so set s3.use_path_style = true for every connection.

Example configuration​

"s3.access_key" = "your-access-key",
"s3.secret_key" = "your-secret-key",
"s3.endpoint" = "https://<seaweedfs-host>",
"s3.region" = "us-east-1",
"s3.use_path_style" = "true"

Usage recommendations​

  • Set s3.use_path_style = true. SeaweedFS does not use per-bucket DNS subdomains.
  • s3.region is required by the AWS S3 SDK but ignored by SeaweedFS — any non-empty value works.
  • For HTTPS, terminate TLS at a reverse proxy and start weed with -s3.externalUrl=https://<proxy> so S3 signature verification works.
  • For Iceberg tables in SeaweedFS S3 Table Buckets, see Integration with SeaweedFS.

Common errors​

For access-denied errors, check the identity and its permissions for both metadata and data. For timeouts, verify the service endpoint and network path from the warehouse. For errors involving a keytab, CA certificate, Hadoop XML file, or JDBC driver, contact VeloDB Cloud support with the error text and the operation that failed.