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>]| Parameter | Required | Description |
|---|---|---|
access_id | Yes | Your Alibaba Cloud AccessKey ID. |
secrect_key | Yes | Your Alibaba Cloud AccessKey secret. |
Endpoint | No | The 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. |
bucket | Yes | The name of your OSS bucket. |
path_to/file | Yes | The path to the file within the bucket. |
subset | No | A 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>]| Parameter | Required | Description |
|---|---|---|
id | Yes | Your MinIO access key ID. |
key | Yes | Your MinIO access key secret. |
host | Yes | The hostname or IP address of your MinIO server. |
port | No | The port number. Defaults to the HTTPS port if omitted. |
bucket | Yes | The name of your MinIO bucket. |
path_to/file | Yes | The path to the file within the bucket. |
subset | No | A 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>]| Parameter | Required | Description |
|---|---|---|
user_name | No | The HDFS username. Defaults to hadoop if omitted. |
host | Yes | The Remote Procedure Call (RPC) endpoint from your HDFS configuration file. |
port | Yes | The RPC port from your HDFS configuration file. |
path_to/file | Yes | The path to the file within HDFS. |
subset | No | A 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.
该文章对您有帮助吗?