Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Big Data Management
  3. Mappings
  4. Sources
  5. Targets
  6. Transformations
  7. Data Preview
  8. Cluster Workflows
  9. Profiles
  10. Monitoring
  11. Hierarchical Data Processing
  12. Hierarchical Data Processing Configuration
  13. Hierarchical Data Processing with Schema Changes
  14. Intelligent Structure Models
  15. Stateful Computing
  16. Connections
  17. Data Type Reference
  18. Function Reference

Advanced Properties for a Hive Metastore Database

Advanced Properties for a Hive Metastore Database

If you want to use a relational database on the cloud platform as the Hive metastore database for the cluster, you must set cluster configuration properties in the Software Setting property of the Create Cluster task.
Configure the Create Cluster task to set configuration properties in the hive-site.xml configuration file on the cluster. Use a text file to specify hive-site settings, and specify the path to the file in the Software Settings property.
Create the following properties in the Software Settings property file:
javax.jdo.option.ConnectionURL
JDBC connection string for the data store.
javax.jdo.option.ConnectionDriverName
JDBC driver class name for the data store. Specify a JDBC driver that is compatible with the cloud platform.
javax.jdo.option.ConnectionUserName
User name to use to connect to the database.
javax.jdo.option.ConnectionPassword
Password for the database user account.
The following text shows sample configuration of the Software Settings property file:
{ "Classification":"hive-site", "Properties":{ "javax.jdo.option.ConnectionURL":"jdbc:mysql:\/\/<RDS_HOST>:<PORT>\/<USER_SCHEMA>?createDatabaseIfNotExist=true", "javax.jdo.option.ConnectionDriverName":"<JDBC driver name>", "javax.jdo.option.ConnectionUserName":"<USER>", "javax.jdo.option.ConnectionPassword":"<USER>" } }
For example,
{ "Classification":"hive-site", "Properties":{ "javax.jdo.option.ConnectionURL":"jdbc:mysql:\/\/<host name>:<port number>\/hive?createDatabaseIfNotExist=true", "javax.jdo.option.ConnectionDriverName":"org.mariadb.jdbc.Driver", "javax.jdo.option.ConnectionUserName":"hive", "javax.jdo.option.ConnectionPassword":"hive" } }


Updated January 20, 2020