Support Questions
Find answers, ask questions, and share your expertise
Announcements
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/hive.py, line 156, in __init__ self._transport.open()"

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