Installing HDF Services on a New HDP Cluster
Also available as:
PDF
loading table of contents...

Configure Druid and Superset Metadata Stores in Postgres

About This Task

Druid and Superset require a relational data store to store metadata. To use Postgres for this, install Postgres and create a database for the Druid metastore. If you have already done this using MySQL, you do not need to configure additional metadata stores in Postgres.

Steps

  1. Log into Postgres:

    sudo su postgres
    psql
  2. Create a database, user, and password called druid, and assign database privileges to the user druid.

    create database druid;
    CREATE USER druid WITH PASSWORD 'druid';
    GRANT ALL PRIVILEGES ON DATABASE  "druid" to druid;
  3. Create a database, user, and password called superset, and assign database privileges to the user superset.

    create database superset;
    CREATE USER superset WITH PASSWORD 'superset';
    GRANT ALL PRIVILEGES ON DATABASE "superset" to superset;