Creating a database using CDP CLI

You can create an operational database in your registered environment using Cloudera Operational Database (COD) CLI Beta.

You must download and install the latest CDP CLI beta version.

  1. Enter the following command:

    cdp opdb create-database --environment-name foo --database-name bar --use-hdfs

    Pass the --use-hdfs flag to create a database for COD on GCP environment.

    --use-hdfs | --no-use-hdfs (boolean)

    Controls whether hbase root can be deployed on hdfs. For more information, see using high performance storage.
Your new database is ready for use.