Testing the Connection to Object Storage from a Cluster
Test an Object Storage API key connection from the Big Data Service cluster.
- On the Clusters list page, select the cluster that you want to work with. If you need help finding the list page or the cluster, see Listing Clusters in a Compartment.
- On the Cluster details page, under Resources select API keys.
- From the for the cluster, select Test connection.
-
Enter the Object Storage URI for the bucket you want to connect to in the URI format
oci://MyBucket@MyNamespace/
. - Enter the passphrase of the API key. You specified this passphrase when you created the API key.
- Select Test connection. The status of the test connection is displayed.
Use the oci bds bds-api-key test-bds-object-storage-connection command and required parameters to test the connection to Object Storage.
oci bds bds-api-key test-bds-object-storage-connection --api-key-id <api_key_id> --bds-instance-id <bds_instance_id> --object-storage-uri <object_storage_uri> --passphrase <passphrase> [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Big Data.
Use the TestBdsObjectStorageConnection operation to test the connection to Object Storage.