Configuring a Generic Hive Database Account for Cloudera Data Warehouse
Overview
The Hive Snap Pack supports Cloudera Data Platform (CDP) to connect to the Cloud Data Warehouse (CDW). Using the Workload user's credentials, you can use a Generic Hive Database Account to connect to the Hive database service running on CDP’s Data Warehouse
Prerequisites
Valid Cloudera Workload user’s credentials.
Cloudera instance.
This article provides details, for an existing Data Warehouse in the CDP.
Locate Details in the Cloudera Data Platform
To validate your Generic Hive Database account in the SnapLogic platform to use the CDW on the CDP, you must have the following details:
JDBC URL
JDBC Driver Class
Workload User name and password.
Log in to the CDP portal (https://sso.cloudera.com) or register yourself if you do not have an account.
The MyCloudera home page opens.Click your Profile icon and select the Cloudera Data Platform. For example, Cloudera Data Platform US West. You are redirected to the Cloudera Data Platform page.
Note: We are using Cloudera Data Platform US West to demonstrate the procedure of accessing details from the CDW.Under Data Services, click the Data Warehouse card.
Click the Tic-tac-toe icon and select Data Warehouse.
The active CDWs are displayed.
Navigate to User Management in the left navigation pane, click the <user>, select Profile, and note the Workload credentials.
Configuring a Generic Hive Database Account with Settings from the CDW
Drag the Hive Execute Snap.
Add the Generic Hive Database account to the Snap.
Enter the Username and Password of your Cloudera Workload instance. (Refer to Step 6 above.)
Enter the JDBC URL of the Hive Server.
Click the Ellipsis on the CDW and select Copy JDBC URL.
Enter the port number right after the domain and update the SSL value from true to 1, wherein 0 is false and 1 is true.
Enter the Site number as 443.
If the SSL is enabled on the Hive server, leave SSL as true. If the SSL is not enabled on the server, enter SSL as 1.
For example,jdbc:hive2://<cdw-datahub-cluster-host>:443/;ssl=1;transportMode=http;httpPath=data-hub-cluster-1/cdw-proxy-api/hive
Upload the Hive driver in the JDBC Driver field. You can download the latest JDBC Hive driver from here.
Specify the JDBC Driver Class as
com.cloudera.hive.jdbc.HS2Driver
.Click Validate. Your account should validate successfully.
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.