-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thrift-sasl 0.4.2 invalid query handle #28
Comments
We have the same issue but thought it was related to thriftpy2, see my comment to that package |
I have this same issue when connecting to Impala via LDAP or Kerberos and have reproduced it both by querying rows and fetching an Impala profile. When querying rows ~30KB was enough data to cause a hang. For a profile it's taking a little more data to cause the hang. Package versions:
Test case setup:
Test script to run a query that generates an Impala profile of 55KB in size via LDAP connection:
When I run the script it hangs after showing the number of rows, i.e. when fetching the profile:
I have tested a couple if workarounds and both resolve the problem.
I don't understand the implications of the commit but also don't like downgrading thrift_sasl from a 2020 version to a 2016 version |
Bumping this - can we get an update from a contributor? It looks like the fix in #32 works, and it would help us a lot if it was released. |
Hi, we're experiencing an issue with thrift-sasl 0.4.2 on Python 3.7, where queries are erroring with "Invalid query handle", but only if they return more than around 50 rows.
We've tried a variety of queries and they all succeed if they return only a few rows, and all fail for over 100 rows. The larger queries fail whether we use fetchone or fetchall.
Queries look normal in the Impala logs and the Impala daemon GUI at port 25000. The logs say the user authenticated and there are no errors, and the GUI says the query is in state 'FINISHED'.
This is a kerberized Impala cluster. Everything works fine if we use thrift-sasl 0.2.1.
pip freeze output:
Example with impyla debug logging enabled:
The text was updated successfully, but these errors were encountered: