Rebuilding a Database Catalog

You can clean up resources and redeploy your Database Catalog while preserving the image version. Rebuild your Database Catalog to perform housekeeping or troubleshooting a problem.

Rebuilding the Database Catalog redeploys resources in the cluster while keeping the configurations and other settings you made using either the Cloudera Data Warehouse UI or Cloudera CLI.

You can rebuild the Database Catalog in the following ways:
Limitations
  • Rebuilding deprecated versions of the Database Catalog is not supported and will fail.
  • Rebuilding does not preserve the changes you made directly, using kubectl for example, to cluster resources in the affected namespaces.
  • You must obtain the DWAdmin role.
  • To preserve Hue documents, such as saved queries, you need to save a backup of the documents as described in Backing up and restoring Hue documents.
  1. Log in to the Cloudera Data Warehouse service as DWAdmin.
  2. Go to the Database Catalogs tab.
  3. Locate the Database Catalog you want to rebuild and click > Rebuild.
    The Rebuild Database Catalog modal is displayed.
  4. Click Rebuild Database Catalog.
  5. Restore Hue documents as described Backing up and restoring Hue documents.
The Database Catalog is rebuilt with the same image version as it had before.