Acceldata
Pulse

Database Explorer

This provides an exploratory view to understand top used tables, file distribution in partitions based on size and number along with providing detailed report for tables of concern.

Prerequisite for Integration

  1. Need user and network access from Pulse server to metastore DB

Note

Available metastore DB support with Pulse - Mysql, Maria, Postgres and Oracle.

  1. Command to encrypt user password

Bash

[root@pulse2:~ (ad-default)]$ accelo admin encrypt

✗ Enter the string to encrypt: : ******

  1. Update following details on ACCELO_HOME/config/acceldata_<cluster-name>.conf

Bash

# HIVE METASTORE is ENABLED during the setup

metadata = {

hive {

type = "mysql"

# Check for the server timezone

# Check & validate the metastore DB Name

url = "jdbc:mysql://<metastore_hostname>:3306/metastore?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"

schema = "metastore"

user = "hive"

pass = "<encrypted_password>"

encrypted = true

secret = "Ah+MqxeIjflxE8u+/wcqWA=="

}

}

  1. And in hdfs.connectors in same file

Bash

hdfs.connectors = [

{

name = "fsanalytics-connector"

trigger = "scheduled"

fsanalytics.metastore {

# HIVE METASTORE is ENABLED during the setup

enabled = true

encrypted = true

}

hive.schema.prefix = "metastore."

slick-mysql {

profile = "slick.jdbc.MySQLProfile$"

db {

dataSourceClass = "slick.jdbc.DriverDataSource"

properties = {

driver = "org.mariadb.jdbc.Driver"

# Check the server timezone

# Check & validate the metastore DB Name

url = "jdbc:mysql://<metastore_hostname>:3306/metastore?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"

user = "hive"

password = "<encrypted_password>"

}

}

}

}

]

  1. Run deploy core and select Acceldata SQL Analysis service in deploy addons list or restart ad-sql-analyser service

Bash

accelo deploy core

[root@pulse2:~ (ad-default)]$ accelo deploy addons

INFO: Active Cluster: ad_cdp710_demo

? Select the components you would like to install: [Use arrows to move, space to select, type to filter]

[ ] Acceldata Metastore

> [x] Acceldata SQL Analysis service

  1. To check for any error check docker logs

Bash

docker logs -f ad-sql-analyser_default --tail 1000