All Products
Search
Document Center

PolarDB:Object storage service paths

Last Updated:Mar 28, 2026

GanosBase supports importing files from Alibaba Cloud Object Storage Service (OSS), MinIO, and Hadoop Distributed File System (HDFS).

OSS path format

oss://<access_id>:<secret_key>@[<Endpoint>]/<bucket>/path_to/file
ParameterRequiredDefaultDescription
access_idYesYour OSS access key ID
secret_keyYesYour OSS access key secret
EndpointNoAuto-detectedThe endpoint of the OSS region. If omitted, GanosBase detects the endpoint automatically, and the path must start with /. Use an internal endpoint to keep the cluster and OSS in the same region and avoid public network egress. For endpoint formats, see OSS domain names.
bucketYesThe name of your OSS bucket
path_to/fileYesThe path to the file within the bucket

MinIO path format

mio://<id>:<key>@<host>[:<port>]/<bucket>/path_to/file
ParameterRequiredDefaultDescription
idYesYour MinIO access key ID
keyYesYour MinIO access key secret
hostYesThe host address of your MinIO instance. Use an internal network address to keep the cluster and MinIO in the same region and Virtual Private Cloud (VPC).
portNoHTTPS portThe port of your MinIO instance
bucketYesThe name of your MinIO bucket
path_to/fileYesThe path to the file within the bucket

HDFS path format

HDFS://<user_name>@<host>:<port>/path_to/file
ParameterRequiredDefaultDescription
user_nameNohadoopThe HDFS username
hostYesThe Remote Procedure Call (RPC) endpoint from your HDFS configuration file. Use an internal IP address to keep the cluster and HDFS in the same region and VPC.
portYesThe RPC port from your HDFS configuration file
path_to/fileYesThe path to the file in HDFS

Examples

OSS

With endpoint specified (recommended for cross-region access control):

oss://my_id:my_secret@oss-cn-hangzhou-internal.aliyuncs.com/my_bucket/my_folder/my_file

MinIO

mio://my_id:my_secret@250.0.0.1:8080/my_bucket/my_folder/my_file

HDFS

Without secret (defaults to hadoop):

HDFS://my_id@250.0.0.1:8081/my_folder/my_file

With secret specified:

HDFS://my_id:my_secret@250.0.0.1:8081/my_folder/my_file