通过jdbc客户端(如squirrelsql)远程连接到apchespark配置单元

hgb9j2n6  于 2021-06-26  发布在  Hive
关注(0)|答案(1)|浏览(418)

我在配置单元中安装了一个正在运行的spark群集。我可以通过beeline在本地通过org.apache.spark.sql.hive.hivecontext运行sql查询。hive thriftserver正在运行。
但是我想知道如何通过jdbc从远程计算机连接到这个hivemetastore,而不必在这个远程系统中重新安装hive。
请建议确切的驱动程序将需要和任何jdbc客户端应用程序,如松鼠sql客户端。

2j4z5cfb

2j4z5cfb1#

以下jar将有所帮助(用于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

相关问题