Example URL's
CDP Hive via Knox Gateway
Doesn't require Kerberos. Knox is SSL, so depending on whether you've self-signed your certs you may need to make adjustments.
Apache Hive and CDP Packaged Apache Hive JDBC Driver
Cloudera JDBC Driver
CDP Hive direct with Kerberos
When connecting to via Kerberos, configure the jar files the same way as non-kerberized connections.
Apache Hive and CDP Packaged Apache Hive JDBC Driver
Cloudera JDBC Driver
HDP2 HS2 with No Auth
Since CDP is usually kerberized AND hms-mirror
doesn't support the simultanous connections to 2 different kerberos environments, I've setup an HS2 on HDP2 specifically for this effort. NOTE: You need to specify a username
when connecting to let Hive know what the user is. No password required.
Apache Hive Standalone Driver shipped with HDP2.
Direct Metastore DB Access
The LEFT
and RIGHT
configurations also suppport 'direct' metastore access to collect detailed partition information. The support this feature, get the JDBC driver that is appropriate for your metastore(s) backend dbs and place it in $HOME/.hms-mirror/aux_libs
directory.