Created 06-22-2022 01:40 AM
Hi ,
im unable to connect impala shell ( kerberised cluster ) with below: command on Edge node
impala-shell -i hostname.abc.com -d default -k
case scenario : we have two Edge node A and B , able to connect on edgenode A and unable to connect on edgenode B with same credentials. checked with different user is it also same as working on Edge node A and edgenode B .
observed that both have different python version A has 2.7.5 as default and B has 3.7.0 is this the cause of connection , if yes how to rectify.
ERROR screenshot shared.
Created 06-22-2022 07:31 AM
Hello Syed,
Yes, the impala is compatible with Python version 2.7.5.
Created 06-22-2022 07:34 AM
You can try the below steps in edge node B
virtualenv venv -p python2
cd venv
source bin/activate
(venv) impala-shell
Created 06-22-2022 07:43 AM
Thanks for the solution , every time i have to come in venv and run impala shell ? or it will work without venv !!
Created 06-22-2022 07:51 AM
Yes, you need to switch to venv everytime or you need to reinstall python with the 2.7.5 version.
Created 06-22-2022 08:11 AM
How to fix it permanently that default to python2.7.5 and impala shell to be work ?
Created 06-23-2022 03:56 AM
For a permanent fix, you need to install the python version 2.7.5.
Created 06-23-2022 09:08 AM
Python 2.7.5 is already installed and multiple version are available tried to set path but not working , any alternate solution.. .!!!