- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error when Connecting Load Balancer with Impyla
- Labels:
-
Apache Impala
-
Kerberos
Created on ‎03-12-2017 09:15 PM - edited ‎09-16-2022 04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'
Created ‎12-05-2018 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any solution for this problem?
Created ‎12-05-2018 12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
