Connect to Object Store
Prerequisites
- Resource principal must be enabled for the cluster.
- There must be a policy defined with correct privileges in your tenancy. Refer Policy Examples.
- In case of cross tenancy (your tenancy [where Big Data Service cluster is created] talking to some other tenancy), the correct policies must be defined in both tenancies to allow the cluster to operate.
Connecting to Object Store
Big Data Service provides a custom authenticator to connect to object store using Resource Principal Authentication.
Note
On Big Data Service 3.0.28 or earlier clusters in the me-riyadh-1
region, run the following export command prior connecting to object storage through HDFS.
# export OCI_REGION_METADATA="{ \"realmKey\" : \"oc1\",\"realmDomainComponent\" : \"oraclecloud.com\", \"regionKey\" : \"RUH\", \"regionIdentifier\" : \"me-riyadh-1\" }"
# hadoop fs -ls oci://<bucket>/<nameservice>/
To use RPST, complete the following: