arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Superset

Integrate with Superset

Start running Superset Imagearrow-up-right with pre-built Superset Pinot connector.

  1. Run below command to start a standalone Superset deployment

docker run \
  --network pinot-demo \
  --name=superset \
  -p 8088:8088 \
  -d apachepinot/pinot-superset:latest

2.1. (First time) Setup Admin account by running below command and follow instructions to set password.

docker exec \
    -it superset \
    bash -c 'export FLASK_APP=superset && flask fab create-admin'

Output:

Superset Admin Command line Output

2.2. (First time) DB upgrade and Initialize Superset

  1. Import Pre-defined Pinot Datasources and Dashboard

  1. Go to SuperSet UI: to play around with dashboard.

http://localhost:8088/arrow-up-right
docker exec \
    -t superset \
    bash -c 'superset db upgrade && superset init'
docker exec \
    -t superset \
    bash -c 'superset import_datasources -p /etc/examples/pinot/pinot_example_datasource_quickstart.yaml && \
             superset import_dashboards -p /etc/examples/pinot/pinot_example_dashboard.json'