...
the
Overview
The The Hive Snap Pack supports supports Cloudera Data Platform (CDP) authentication. You Using the Workload user's credentials, you can use the Generic Hive Database Account to connect to the Hive database through the knox Knox reverse proxy using the Workload user's credentials. The Cloudera Workload user credentials are used to authenticate against Knox reverse proxy and subsequently connect to the Hive database. The Knox reverse proxy hides the complex details for managing kerberos Kerberos based authentication and authorization from the client.
...
Info |
---|
This document provides details assuming you have an existing Data Hub Cluster in the Cloudera Data Platform. |
Locate Details in Cloudera Data Platform
To validate your Generic Hive Database account in SnapLogic against the Clouder Cloudera Knox reverse proxy, you must have the following details:
JDBC URL
JDBC Driver Class
Workload User name and password.
Log in to Cloudera Data Platform the CDP portal (https://sso.cloudera.com) or register yourself if you do not have an account.
The MyCloudera home page is displayed.Click your Profile icon and select the Cloudera Data Platform. For example, Cloudera Data Platform US West. You will be redirected to the Clouderra Cloudera Data Platform page.
To Note: We are using Cloudera Data Platform US West to demonstrate the procedure of accessing the details from CDP, we are using Cloudera Data Platform US Westthe CDP.Under Data Management, click the Management Console card.
Click Data Hub Clusters and select the Data Hub Cluster that is active and running. The list of hub clusters is displayed.
Under Cloudera Manager Info, click the Endpoints tab.
All services that are running on the CDP are displayed.Copy or make a note of the JDBC URL of the Hive Server to use it in the Generic Hive Database Account.
Navigate to User Management. Click the <user> and , select Profile, and make note of the Workload credentials.
Configuring Generic Hive Database Account with
...
Settings from the CDP
Drag the Hive Execute Snap.
Add the Generic Hive Database Account to the Snap.
Enter the Username and Password of your Cloudera workload. (Refer to Step 7 above.)
Enter the JDBC URL of the Hive Server.
Note: By default, the raw URL is got from Cloudera; you have to (refer to the Step 6 in the section above for the raw URL format) is obtained from the CDP; you must enter the port number right after the domain and update the SSL value from true to 1. 0 is false and 1 is true. (Refer to Step 6 above for the raw URL format.)
If the cluster is SSL-enabled, the default value of SSL is true in the JDBC URL; replace it with 1.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 0 or 1.
For example,jdbc:hive2://data-hub-cluster-1-gateway.snap-tea.j7vi-6hdh.a3.cloudera.site:443/;ssl=1;transportMode=http;httpPath=data-hub-cluster-1/cdp-proxy-api/hive
Upload the JDBC Driver. 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 be validated successfully.
...