Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Connecting to Hive using Python

Connecting to Hive using Python

New Contributor

Hello All,

I'm a newbie to Python. When I am trying to write a python script to connect to Hive data base I'm getting the below error.

"file /home/hadoop/anaconda2/lib/python2.7/site-packages/pyhive/, line 156, in __init__"

I've installed PyHive, thrift, thrift-sasl libraries.

Can someone please explain me why this error is occurring.

Don't have an account?
Coming from Hortonworks? Activate your account here