Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to Cloudera Data Platform portal (https://sso.cloudera.com) or register yourself if you do not have an account.
    The MyCloudera home page is displayed.

    Image RemovedImage Added

  2. Click your Profile icon and select Cloudera Data Platform. For example, Cloudera Data Platform US West. You will be redirected to the Clouderra Data Platform.
    To demonstrate the procedure of accessing the details from CDP, we are using Cloudera Data Platform US West.

  3. Under Data Management, click the Management Console card.

  4. Click Data Hub Clusters and select the Data Hub Cluster that is active and running.

    Image Removed

    Click Data Hub Clusters. The list of hub clusters is displayed.

    Image Added

    Image Modified

  5. Under Cloudera Manager Info, click the Endpoints tab.
    All services that are running on the CDP are displayed.

  6. Copy or make note of the JDBC URL of the Hive Server to use it in the Generic Hive Database Account.


  7. Navigate to User Management. Click the <user> and select Profile and make note of the Workload credentials.

    Image RemovedImage Added


Configuring Generic Hive Database Account with Cloudera

  1. Drag the Hive Execute Snap.

  2. Add the Generic Hive Database Account to the Snap.

  3. Enter the Username and Password of your Cloudera workload. (See Refer to Step 8 7 above.)

  4. Enter the JDBC URL of the Hive Server.
    Note: By default, the raw URL is got from Cloudera; you have to 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. (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.

    1. Enter the Site number as 443.

    2. If the SSL is enabled on the Hive server, leave SSL as true.

    For example (JDBC URL : jdbc
    1. 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

    )
    1. Enter the Site number as 443.

    2. 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. Add example url format below after change:

  5. Upload the JDBC Driver. You can download the latest JDBC Hive driver from here.

  6. Specify the JDBC Driver Class as com.cloudera.hive.jdbc.HS2Driver.

  7. Click Validate. Your account should be validated successfully.

...