03-12-2017 09:15 PM
I am using python shell to connect to with impala with Cloudera Impyla (github.com/cloudera/impyla)
After I am using kinit command, I start to connect inside python session with following command and get the following error. Please advice. Thanks
from impala.dbapi import connect con = connect(host=<IMPALA_LOAD_BALANCER_NODE>, port=25003, auth_mechanism="GSSAPI", use_ssl=True).cursor() TApplicationException: Invalid method name: 'OpenSession'
12-05-2018 12:13 PM
Also - please try with impala-shell port (e.g. 21051). It looks like 25003 for load balancer is used for external connections thru ODBC and 21051 for impala-shell connections.