question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure to connect to cluster without error message

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lasersoncommented, Sep 29, 2016

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.

0reactions
Takayoshi-Aoyagicommented, May 11, 2018

Hello, @ExpressGit

I don’t remember exactly, but I created a symbolik link.

$ cd /usr/lib64/ $ sudo ln -sf libsasl2.so.2.0.23 libsasl2.so.3

My environment is:

$ uname -a Linux hdp236hdb 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error messages when a cluster group online - Windows Server
This article describes how to resolve the error messages when you try to bring a cluster group online after a cluster stops.
Read more >
Troubleshoot a failed cluster - Amazon EMR
This section walks you through the process of troubleshooting a cluster that has failed. This means that the cluster terminated with an error...
Read more >
"vSphere HA virtual machine failed to failover" error in vCenter ...
In a cluster with an isolation response set to Leave powered on when a host becomes isolated may display this error on a...
Read more >
Troubleshooting 'unable to connect to etcd' Error Message
This issue is cause by the Ondat daemonset pods not being able to connect to the etcd cluster. This is generally caused by...
Read more >
Cisco HyperFlex Systems Troubleshooting Reference Guide, 4.0
Deploy or Upgrade Fail with Error: ''NoneType' object has no attribute ... fails without a standard error message in HX Connect or vCenter....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found