Creating an External Metastore for a Cluster
Create an external metastore for a Big Data Service cluster.
Data Catalog provides a highly available and scalable metastore for Hive implementations. You can configure this Data Catalog metastore as an external metastore for a Big Data Service cluster.
To create an external metastore configuration for Big Data Service, you must have the permissions and policies to access and manage a valid Data Catalog metastore. For more prerequisites, see Integrating with Data Catalog External Hive Metastore.
When you create an external metastore, the local metastore for the cluster becomes inactive and the new external Data Catalog metastore is activated.
After successful creation of the external metastore for the Big Data Service cluster, the local metastore for the cluster becomes inactive and the new external Data Catalog metastore is activated.
Use the oci bds bds-metastore-configuration create command and required parameters to create an external metastore.
oci bds bds-metastore-configuration create --bds-api-key-id <bds_api_key_id> --bds-api-key-passphrase <bds_api_key_passphrase> --bds-instance-id <bds_instance_> --cluster-admin-password <cluster_admin_password> --metastore-id <metastore_id> [OPTIONS]For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Big Data.
Use the CreateBdsMetastoreConfiguration operation to create an external metastore.