GanosBase allows you to import files from Alibaba Cloud Object Storage Service (OSS), MinIO, and HDFS.
File path in OSS
File path:
oss://<access_id>:<secrect_key>@[<Endpoint>]/<bucket>/path_to/fileThe Endpoint parameter is optional. If you do not specify this parameter, GanosBase automatically obtains the required endpoint If you do not specify the Endpoint parameter, make sure that the path starts with a forward slash (/).
The Endpoint parameter specifies the region where OSS resides. To ensure data access, make sure that the cluster and OSS are in the same region and that you use an internal endpoint for access. For more information, see OSS domain names.
File path in MinIO
File path:
mio://<id>:<key>@<host>[:<port>]/<bucket>/path_to/fileIf you do not specify the port parameter, the HTTPS port is automatically used.
To ensure data access and optimize data import performance, make sure that the cluster and the Minio are located in the same region and Virtual Private Cloud (VPC), and that you use an internal network address for access.
File path in Hadoop Distributed File System (HDFS)
File path:
HDFS://<user_name>@<host>:<port>/path_to/fileTake note of the following points:
If you do not specify the
user_nameparameter,hadoopis used as the default username.Set
hostparameter to the Remote Procedure Call (RPC) endpoint and port number in the HDFS configuration file.
To ensure data access and optimize data import performance, make sure that the cluster and the HDFS are located in the same region and VPC, and that you use an internal IP address for access.
Examples
OSS
OSS://my_id:my_secret@oss-cn-hangzhou-internal.aliyuncs.com/my_bucket/my_folder/my_fileMinIO
MIO://my_id:my_secret@250.0.0.1:8080/my_bucket/my_folder/my_fileHDFS
The
secretparameter is not specified. In this case, the default valuehadoopis used.HDFS://my_id@250.0.0.1:8081/my_folder/my_fileThe
secretparameter is specified.HDFS://my_id:my_secret@250.0.0.1:8081/my_folder/my_file