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
conn.cursor(): impala.error.HiveServer2Error #252
Comments
The defaults for the parameters you listed are
I see that both statements that work you give Otherwise, you are giving a non-local Does that all make sense? |
First, thanks for the fast response! By 'my ip' I mean: a IP for a remote machine. It could be related with the The hard part is that the error message is not clear enough to identify what is happening. So I am not sure this is a network or authentication issue. Thanks again |
Seeing as Are you able to SSH into this machine to run any query through Have you also tried passing If you don't specify the value, it will use the name of the user executing the code in the current session, retreived from the OS |
Thanks for the help @Cricket007 I configured log for DEBUG mode then I got more messages. I guess it is a connection issue instead of an authorization issue, because I am not receiving any error related to the user/pass. Does that makes sense? Maybe a firewall rule?
|
To help others: It was a authentication issue. I added Thanks for the help @Cricket007 ! |
For Hive (hive-server2), is there a workaround if I have to use auth_mechanism='NOSASL'? Because specifying NOSASL as auth_mechanism still gives the same error (meaning that whether or not I specify the auth_mechanism, it automatically defaults to the mechanism specified in my hive-site.xml) |
when to use 'user' vs 'ldap_user' .we are given user and password but not sure if its ldap user or user ? |
|
how to due it? |
import logging |
Sorry I am newbie on this. Any ideas?
Internally, it raise this error on this line
session = self.service.open_session(user, configuration)
The text was updated successfully, but these errors were encountered: