Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 521 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 521 Bytes

lib中的jar版本适用CDH-6.1.1,更换hadoop跟hive相关版本jar连接不同版本

python使用jdbc连接hive

需要安装requirement.sh里面的包 + java8的环境, demo在support/run.py

python use jdbc connect to hive

need install with requirement.sh, and install java1.8 env.
how to install ? 

centos install java8

yum install java-1.8.0-openjdk -y

how to connect?

look at the demo -> support/run.py

notice

remember to change you hive IP address -> support/core/jdbc.py