Object storage paths

更新时间:
复制 MD 格式

GanosBase allows you to create, import, and export data stored in Alibaba Cloud Object Storage Service (OSS) buckets, MinIO (Multi-Cloud Object Storage) buckets, and Hadoop Distributed File System (HDFS) files. This topic describes the path format for each storage type.

OSS paths

oss://<access_id>:<secrect_key>@[<Endpoint>]/<bucket>/path_to/file[:<subset>]
ParameterRequiredDescription
access_idYesYour Alibaba Cloud AccessKey ID.
secrect_keyYesYour Alibaba Cloud AccessKey secret.
EndpointNoThe endpoint of the OSS region where your bucket resides. If omitted, GanosBase resolves the endpoint automatically — the path must then start with a forward slash (/). For a list of endpoints, see OSS domain names.
bucketYesThe name of your OSS bucket.
path_to/fileYesThe path to the file within the bucket.
subsetNoA subset selector to read a portion of the data.
To get the best import performance, place your ApsaraDB RDS instance and OSS bucket in the same region.

MinIO paths

MinIO uses the mio:// scheme. For more information, see Multi-Cloud Object Storage.

mio://<id>:<key>@<host>[:<port>]/<bucket>/path_to/file[:<subset>]
ParameterRequiredDescription
idYesYour MinIO access key ID.
keyYesYour MinIO access key secret.
hostYesThe hostname or IP address of your MinIO server.
portNoThe port number. Defaults to the HTTPS port if omitted.
bucketYesThe name of your MinIO bucket.
path_to/fileYesThe path to the file within the bucket.
subsetNoA subset selector to read a portion of the data.
To get the best import performance, place your database instance and MinIO bucket in the same region and virtual private cloud (VPC), connected over an internal network.

HDFS paths

HDFS://<user_name>@<host>:<port>/path_to/file[:<subset>]
ParameterRequiredDescription
user_nameNoThe HDFS username. Defaults to hadoop if omitted.
hostYesThe Remote Procedure Call (RPC) endpoint from your HDFS configuration file.
portYesThe RPC port from your HDFS configuration file.
path_to/fileYesThe path to the file within HDFS.
subsetNoA subset selector to read a portion of the data.
To get the best import performance, place your database instance and HDFS cluster in the same region and VPC, connected over an internal network.