Huawei OBS
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 Huawei Cloud OBS, which are applicable to the following scenarios:
- Catalog properties
- Table Valued Function properties
- Broker Load properties
- Export properties
- Outfile properties
VeloDB Cloud uses S3 Client to access Huawei Cloud OBS through S3-compatible protocol.
Parameters
Defaults below are source defaults for the provider-specific properties in VeloDB Core 26.1.3. They do not report the effective configuration of a running warehouse.
| Property Name | Former Name | Description | Default Value | Required |
|---|---|---|---|---|
obs.endpoint | s3.endpoint | OBS endpoint, specifies the access endpoint for Huawei Cloud OBS | Yes | |
obs.access_key | s3.access_key | OBS access key, used for authentication | Yes | |
obs.secret_key | s3.secret_key | OBS secret key, used together with access key for authentication | Yes | |
obs.region | s3.region | OBS region, specifies the region of Huawei Cloud OBS | No | |
obs.use_path_style | s3.use_path_style | Whether to use path-style access. Recommended to set to true for compatibility with non-AWS S3 services like MinIO/Ceph | FALSE | No |
obs.connection.maximum | s3.connection.maximum | Maximum number of connections to OBS service | 100 | No |
obs.connection.request.timeout | s3.connection.request.timeout | Request timeout in milliseconds for connecting to OBS service | 10000 | No |
obs.connection.timeout | s3.connection.timeout | Connection timeout in milliseconds for establishing connection to OBS service | 10000 | No |
Legacy aliases are retained for compatibility with Apache Doris before 3.1.
Example configuration
"obs.access_key" = "your-access-key",
"obs.secret_key" = "your-secret-key",
"obs.endpoint" = "obs.cn-north-4.myhuaweicloud.com",
"obs.region" = "cn-north-4"
Legacy S3-compatible aliases:
"s3.access_key" = "your-access-key",
"s3.secret_key" = "your-secret-key",
"s3.endpoint" = "obs.cn-north-4.myhuaweicloud.com",
"s3.region" = "cn-north-4",
Usage recommendations
- It is recommended to use the
obs.prefix for configuration parameters to ensure consistency and clarity with Huawei Cloud OBS. - For compatibility with Apache Doris before 3.1, please use the former name with
s3.prefix. - Configuring
obs.regioncan improve access accuracy and performance, it is recommended to set it. - Connection pool parameters can be adjusted according to concurrency requirements to avoid connection blocking.
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.