Testing the Connection to Object Storage from a Cluster
Test an Object Storage API key connection from the Big Data Service cluster.
- Open the navigation menu and click Analytics & AI. Under Data Lake, click Big Data Service.
- Under Compartment, select the compartment that contains the cluster.
- In the list of clusters, click the name of the cluster that has the API key.
- On the Cluster details page, under Resources click API keys.
- From the Action menu of the API key you want to test, 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.
- Click 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.