Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Data Engineering Integration
  3. Mappings
  4. Mapping Optimization
  5. Sources
  6. Targets
  7. Transformations
  8. Python Transformation
  9. Data Preview
  10. Cluster Workflows
  11. Profiles
  12. Monitoring
  13. Hierarchical Data Processing
  14. Hierarchical Data Processing Configuration
  15. Hierarchical Data Processing with Schema Changes
  16. Intelligent Structure Models
  17. Blockchain
  18. Stateful Computing
  19. Appendix A: Connections Reference
  20. Appendix B: Data Type Reference
  21. Appendix C: 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" } }

0 COMMENTS

We’d like to hear from you!