Easily find issues by searching: #<Issue ID>
Example: #1832
Easily find members by searching in: <username>, <first name> and <last name>.
Example: Search smith, will return results smith and adamsmith
Aqua Data Studio / nhilam |
Follow
827
|
Version 1.1.0 of the Apache Hive JDBC drivers are included with ADS. These four Apache Hive JDBC Driver files are found in the following locations:
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
[ADS_INSTALL]\lib\drivers\hive-exec.jar [ADS_INSTALL]\lib\drivers\hive-jdbc.jar [ADS_INSTALL]\lib\drivers\hive-metastore.jar [ADS_INSTALL]\lib\drivers\hive-service.jar
LINUX
[ADS_INSTALL]/lib/drivers/hive-exec.jar [ADS_INSTALL]/lib/drivers/hive-jdbc.jar [ADS_INSTALL]/lib/drivers/hive-metastore.jar [ADS_INSTALL]/lib/drivers/hive-service.jar
OSX - OSX Driver Location Navigation
Aqua Data Studio.app/Contents/Java/drivers/hive-exec.jar Aqua Data Studio.app/Contents/Java/drivers/hive-jdbc.jar Aqua Data Studio.app/Contents/Java/drivers/hive-metastore.jar Aqua Data Studio.app/Contents/Java/drivers/hive-service.jar
All of the example file locations below are for a Linux operating system but can equally apply to a Windows or OSX operating system. See above for file locations by operating system.
Aqua Data Studio allows connecting to Apache, Mapr, Hortonworks and Cloudera Hive distributions. It is important that the four files which come by default within <ADS_INSTALL>/lib/drivers be removed and replaced with the same named files which came with your server distribution from Hortonworks, Cloudera or Mapr.
Only one distribution can be used at a time, so you cannot have files from more than one distribution in <ADS_INSTALL>/lib/drivers.
Once your distribution drivers are in place in <ADS_INSTALL>/lib/drivers, edit your server properties for a registered server. The appropriate distribution name must be selected in the Distribution dropdown in the Location section of the Server Properties > General tab.
For Aqua Data Studio to show you which drivers are in use for your distribution, you must connect to your distribution at least once before they appear in the About Aqua Data Studio > JDBC Drivers tab.
Click on About Aqua Data Studio > JDBC Drivers. The Apache Hive drivers are loaded dynamically so you must connect at least once to your distribution to see what version is listed in the JDBC Drivers dialog. Below is an example screenshot of the default Hive drivers.
Click on the Server Support Information dialog. Right click on your hive server listed in the Aqua Data Studio schema window and select the Server Support Information dialog. Below is an example screenshot of the default Hive drivers.
The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with your updated Apache Hive JDBC drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
hive-exec-x.xx.x.jar
hive-jdbc-x.xx.x.jar
hive-metastore-x.xx.x.jar
hive-service-x.xx.x.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Apache Hive JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Apache Hive and connect.
The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with Hortonworks JDBC drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
hive-exec-x.xx.x.x.x.x.x-xx.jar
hive-jdbc-x.xx.x.x.x.x.x-xx.jar
hive-metastore-x.xx.x.x.x.x.x-xx.jar
hive-service-x.xx.x.x.x.x.x-xx.jar
If connecting to Hortonworks using Kerberos authentication, you'll also need to copy the following libraries:
hive-shims-common.jar
hive-shims-common-secure.jar
hive-shims-0.23-*.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Hortonworks JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Hortonworks and connect.
Using Simba Hive JDBC Connector Drivers to Connect to Hortonworks
It is possible to connect to Hortonworks by using the Simba Hive JDBC Connector Drivers which can be downloaded from the Hortonworks website. The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with the Simba Hive JDBC Connector drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
TCLIServiceClient.jar
HiveJDBC41.jar
hive_service.jar
hive_metastore.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Simba Hive JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Hortonworks and connect.
The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with Cloudera JDBC drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
hive-exec-x.xx.x-xxxx.x.x.jar
hive-jdbc-x.xx.x-xxxx.x.x.jar
hive-metastore-x.xx.x-xxxx.x.jar
hive-service-x.xx.x-xxxx.x.x.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Cloudera JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Cloudera and connect.
Using Cloudera Connector Drivers to Connect to Cloudera
It is possible to connect to Cloudera by using the Cloudera JDBC Connector Drivers which come bundled with Cloudera or could be downloaded from the Cloudera website. The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with the Cloudera JDBC Connector drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
(for those using Impala and HiveServer2)
TCLIServiceClient.jar
ImpalaJDBC41.jar
HiveJDBC41.jar
hive_service.jar
hive_metastore.jar
(for those only using Impala)
TCLIServiceClient.jar
ImpalaJDBC41.jar
hive_service.jar
hive_metastore.jar
(for those only using HiveServer2)
TCLIServiceClient.jar
HiveJDBC41.jar
hive_service.jar
hive_metastore.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Cloudera JDBC Connector drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Cloudera and connect.
The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with Mapr JDBC drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
hive-exec-x-xx.x.jar
hive-jdbc-x.xx.x.jar
hive-metastore-x.xx.x.jar
hive-service-x.xx.x.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Mapr JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Mapr and connect.
The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with Amazon EMR JDBC drivers.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
hive_metastore.jar
hive_service.jar
HiveJDBC4.jar
TCLIServiceClient.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Amazon JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Amazon EMR and connect.
Note: When using the Amazon Connector driver version 1.0.4, it is recommended that you add this parameter - ?UseNativeQuery=1 to the Server Properties->Driver->Parameters field. This alleviates an issue related to the way the JDBC drivers handle complex data columns.
Using Apache Hive JDBC Drivers to Connect to Amazon EMR
It is possible to connect to Amazon EMR by using the Apache Hive JDBC Drivers downloadable from the Apache Hive website. The following four files for Apache's Hive distribution from within <ADS_INSTALL>/lib/drivers should be removed and replaced with Apache Hive JDBC drivers download from the Apache Hive website.
hive-exec.jar
hive-jdbc.jar
hive-metastore.jar
hive-service.jar
Note: Renaming them is not sufficient, you must either delete these files or move them to a directory outside of [ADS_INSTALL]
Once you've pasted the Apache Hive JDBC drivers in <ADS_INSTALL>/lib/drivers and restarted Aqua Data Studio, set the Server Properties > General tab Location Connection Type (choose HiveServer 1, HiveServer 2, Impala or Spark SQL) and Distribution drop-down to Amazon EMR and connect.
To get to the driver location in OSX, select "Finder". Select "Applications". Locate the Aqua Data Studio app and right click on it. Select "Show Package Contents"
About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017