通过像Squirrel SQL这样的jdbc客户端远程连接到apche spark hive

时间:2016-03-04 06:04:03

标签: jdbc apache-spark hive squirrel-sql

我有一个安装了hive的正在运行的spark集群。我可以通过beeline.Hive thriftserver在本地运行org.apache.spark.sql.hive.HiveContext运行SQL查询。

但我想知道如何通过jdbc从远程计算机连接到这个hive Metastore,而没有在这个远程系统中重新安装hive。

请建议需要什么样的驱动程序以及任何jdbc客户端应用程序,如Squirrel SQL Client。

1 个答案:

答案 0 :(得分:0)

以下罐子将有助于(用于cdh发布)

commons-configuration-1.6.jar
commons-logging-1.1.1.jar
commons-logging-1.1.3.jar
commons-logging-1.1.jar
commons-logging-1.2.jar
hadoop-common-2.6.0-cdh5.4.4-tests.jar
hadoop-common-2.6.0-cdh5.4.4.jar
hadoop-core-2.6.0-mr1-cdh5.4.4.jar
hive-exec-1.1.0-cdh5.4.4.jar
hive-jdbc-1.1.0-cdh5.4.4-standalone.jar
hive-jdbc-1.1.0-cdh5.4.4.jar
hive-service-1.1.0-cdh5.4.4.jar
libfb303-0.9.0.jar
libthrift-0.9.0.jar
log4j-1.2.16.jar
slf4j-api-1.7.5.jar
slf4j-log4j12-1.7.5.jar
相关问题