Required Databases

The following Cloudera Manager and Cloudera Runtime components use databases: Cloudera Manager Server, Reports Manager, Hive Metastore Server, Hue Server, Cloudera Data Visualization, Schema Registry, Oozie Server, Ranger Admin, Ranger KMS, Streams Messaging Manager Server, and YARN Queue Manager.

The type of data stored in each database and its relative size are as follows:

Cloudera Manager and Cloudera Management Service
Back up the following databases and local datastores used by Cloudera Manager and Cloudera Management Service (CMS) roles:
  • Cloudera Manager Server – Contains all the information about services you have configured and their role assignments, all configuration history, commands, users, and running processes. This relatively small database (< 100 MB) is the most important to back up.
  • Reports Manager – Tracks disk utilization and processing activities over time. Medium-sized.
  • Host Monitor and Service Monitor – These CMS roles do not use a relational database; instead, they store time-series monitoring data in local disk-based datastores that should be included in your host-level backup strategy.
Cloudera Runtime Services
Depending on the services deployed in your Cloudera Runtime 7.1.9 or higher cluster, back up the following service databases:
  • Hive Metastore Server – Contains Hive table and partition metadata. Relatively small.
  • Hue Server – Contains user account information, job submissions, saved workflows, and Hive/Impala queries. Relatively small.
  • Cloudera Data Visualization – Stores dashboard definitions, datasets, visual configurations, and user permissions. Uses an embedded SQLite database by default, or an external relational database (PostgreSQL, MySQL, or MariaDB) in production environments.
  • Schema Registry – Contains schemas, schema metadata, versions, and branches (supported on MySQL, PostgreSQL, or Oracle).
  • Oozie Server – Contains Oozie workflow, coordinator, and bundle execution data. Can grow very large.
Additional Cloudera Runtime Service Databases (if deployed)
  • Ranger Admin – Contains administrative information such as Ranger users, groups, and access policies. Medium-sized.
  • Ranger KMS – Stores encrypted keys managed by the Ranger Key Management Service.
  • Streams Messaging Manager (SMM) Server – Contains Kafka metadata, metrics, and alert definitions. Relatively small.
  • YARN Queue Manager – Stores queue configurations created by YARN Queue Manager:
    • If you install Cloudera Runtime 7.1.9 CHF 2 or higher, YARN Queue Manager uses an embedded database and does not require an external relational database.

    • If you install Cloudera Runtime 7.1.9 or 7.1.9 CHF 1, YARN Queue Manager requires an external PostgreSQL database. If you upgrade from 7.1.9 or 7.1.9 CHF 1 to CHF 2 or higher, the service continues using your PostgreSQL database and does not migrate back to the embedded database.

For steps to install and configure databases for Cloudera Manager, Cloudera Runtime, and other managed services, see the setup guide for the type of database you want to use.