hive-jdbc-uber-jar | Hive JDBC uber '' or standalone '' jar
kandi X-RAY | hive-jdbc-uber-jar Summary
kandi X-RAY | hive-jdbc-uber-jar Summary
Sometimes you want to connect your favorite database query or visualization tool to Hive. I've found that this can be quite cumbersome, typically requiring you to copy jars from the Hadoop cluster to some place locally that can be read by your tool. Recent versions of Hive include a "standalone" jar, but even this does not include all required dependencies. The goal of this simple maven project is to easily pull the required jars into a single place locally and create an "uber" or "standalone" jar that can be referenced by any JDBC compliant tool. Please note this jar works with both kerberized and non-kerberized clusters. Configuring tools to work against kerberized clusters is typically more involved and requires an understanding of Kerberos. A full explanation of configuring Kerberos is outside the scope of this project. You can download the latest binaries from the releases page:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Prints information about this version
- Returns the url to use for this plugin
- Gets the user
- Get the sub version URL
- Get the checksum of the Hadoop file
- Get the sub - version number
- Returns the version
- Gets the compilation date
- Get the protocol version
- Returns the protocol version
- Retrieves the date
- Get user name
- Get source checksum
- Get the revision
- Get the Hadoop version
- Gets the branch name
- Get branch branch
- Get the build version
- Get the build version
- Prints version information
hive-jdbc-uber-jar Key Features
hive-jdbc-uber-jar Examples and Code Snippets
Community Discussions
Trending Discussions on hive-jdbc-uber-jar
QUESTION
I am using windows machine and trying to setup hive with DbVisualizer using hive uber jar. However getting the error as mentioed below. Not sure why ? https://github.com/timveil/hive-jdbc-uber-jar
I am using following exe to generate keytab file on windows. http://web.mit.edu/KERBEROS/dist/index.html
And All the steps mentioned on the github page.
If I use user principal, I am getting following error.
dbc:hive2://aaa.corp.ad.abc:2181,bbbb.corp.ad.abc:2181,ccc.corp.ad.abc:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2;principal=gaurang.shah@CORP.AD.ABC
Error Message
...ANSWER
Answered 2018-Feb-09 at 03:26Answer provided by Samson in the comment worked for me.
using prinicpal as hive/_HOST@CORP.AD.ABC
resolved the issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hive-jdbc-uber-jar
The krb5.conf file on your workstation matches the one on your cluster
You have a valid kerberos principal that can access the appropriate services your custer
You can successfully kinit from your workstation against the realm specified in your krb5.conf file # for example, from my Mac, i execute the following command kinit -t /[path to my keytab]/tveil.keytab
You have installed the JCE jars in the correct place. The latest JCE jars have a modified date of 12/20/2013. In DbVisualizer go to "Help" > "About" > "System Properties" and look for the java.home entry. This should point to the JRE used by the tool. Make sure the updated JCE jars are the lib/security directory under this folder. In DataGrip - todo
To build locally, you must have Maven installed and properly configured. After that it's as simple as running mvn clean package. A file called hive-jdbc-uber-x.jar will be created in your target directory. The newly created jar will have the Hive JDBC driver as well as all required dependencies.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page