如何用python连接hive

我用的是py27 64位,在windows系统下,怎么去连接hive;因为服务器端是hivesever2,不知道针对hivesever的连接还能不能用;另外,python到底应该怎么连接到hivesever2,下载了pyhs2 包,但在连接的过程中报错:TTransportException: Could not start SASL: Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2,查了一下需要安装

cyrus-sasl-plain

cyrus-sasl-devel

这两样东西,在lunix系统下只要两条命令就可以解决,但在windows系统下不知道应该怎么办!

栖息在月亮上的麻雀
浏览 5418回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP