impyla: Failure to connect to cluster without error message
I’m trying to use impyla to connect to a hive server:
from impala.dbapi import connect
conn = connect(host='localhost', port=11112)
cursor = conn.cursor()
I locks up on the conn.cursor() line. No timeouts so far (1h+) and no connection or failure.
Not sure if related, but I can connect using pyhive and directly using beeline. Using pyhive I can do show databases but get an error when trying to do a SELECT. The beeline connection line is
beeline -u jdbc:hive2://localhost:11112 -n hive job.queue.name=myqueue
and everything works ok.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (3 by maintainers)
Looks like an issue with the security configuration more than anything. But I’ll also mention that I no longer maintain this code and don’t have a way to test out any problems.