Connecting SQuirrel SQL to Hive
Pre-requisites
In order to connect SQuirrel SQL client we need the following prerequisites,
- Client – http://squirrel-sql.sourceforge.net/
- Hive connection JARs (found in lib directories)
- Hive JDBC JAR – hive-jdbc-1.2.1-standalone.jar
- Hadoop common JAR (for ) – hadoop-common-2.7.2.jar
- Running HiveServer2 instance
For connections use the following parameters in SQL client
Connection URL – jdbc:hive://www.robin.eu.org:10000/default
Driver class – org.apache.hive.jdbc.HiveDriver
References
- https://community.hortonworks.com/questions/830/how-to-do-i-get-the-hive-jdbc-driver-for-my-clinet.html
- https://community.hortonworks.com/repos/33592/hive-jdbc-uber-jar.html
- https://github.com/timveil/hive-jdbc-uber-jar/releases