Member since
01-23-2019
2
Posts
0
Kudos Received
0
Solutions
01-25-2019
11:11 AM
from impala.dbapi import connect from impala.util import as_pandas conn = connect(host=kerurl, port=21050, auth_mechanism='GSSAPI') cursor = conn.cursor() This is the basic code we are trying, but the biggest challenge is kind of the old DLL hell, where there is not a right combination of the libraries.. impyla 14.1 thrift 0.3.0 thrift_sasl 0.11.0 gives different errors AttributeError: 'TSocket' object has no attribute 'isOpen' Where as the impyla 13.8 thrift 0.2.1 thrift_sasl 0.9.3 gives TTransportException: TTransportException(type=1, message="Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'") Where as all underlying mechanisms are available. Do you know of a good combination?
... View more
01-24-2019
01:56 PM
Is there any examples available for impyla for how to connect to a kerberos cluster. the config in impala says ldap and I am not able to connect. Tried various combinations, various combinations of thrift/thrift-sasl versions and various versions of impyla as well. But is there any documentation of examples available to look at what the connection properties are and if it works. We have a kerborized cluster and it totally stops users from using it. TTransportException: TTransportException(type=1, message="Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'") This is the latest error where as all the options are available on the cluster.
... View more
Labels:
- Labels:
-
Apache Impala
-
Kerberos