Configure metastore database properties
In CDP Private Cloud Base, you configure Hive and Hive metastore by modifying
hive-site.xml indirectly using the Cloudera Manager Safety Valve
feature. Using hive set key=value on the command line is not supported.
myhost, the user
account is hiveuser, and the password is mypassword.
Substitute the following connection URLs and driver names depending on the your database
type.- MySQL connection URL:
jdbc:mysql://myhost/metastoreMySQL driver name:
com.mysql.jdbc.Driver - Postgres connection URL:
jdbc:postgresql://myhost/metastorePostgres driver name:
jdbc:postgresql://myhost/metastore - Oracle connection URL:
jdbc:oracle:thin:@//myhost/xeOracle driver name:
oracle.jdbc.OracleDriver
- The following components are running:
- HiveServer
- Hive Metastore
- A database for the metastore, such as the default MySQL Server
- Hive clients
- Minimum Required Role: Configurator (also provided by Cluster Administrator, Full Administrator)
