Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

unexpected keyword argument 'ssl_version'

avatar
Contributor

I am trying to run an impala shell and I receive the below error:

Error connecting: TypeError, __init__() got an unexpected keyword argument 'ssl_version'

This happens after the upgrade to 3.4 impala version.

2 REPLIES 2

avatar
Expert Contributor

@drgenious How you upgraded impala? 

 

You can check "strace -s 2000 impala-shell -i hostname -k --ca-cert.pem -q "show databases > impala_log to verify if is referring correct impala version.

 

Thanks!

avatar
Master Collaborator

@drgenious This is an OS-level issue that will need to be addressed at the OS level by the system admin. The bottom line here is that thrift-0.9.2 needs to be uninstalled

 

There are various things that could be happening:
1) Multiple python versions.
2) Multiple pip versions.
3) Broken installation.

Solution: 1 - You can try to create the Python virtual environment to connect to impala-shell virtualenv venv -p python2 cd venv source bin/activate (venv) impala-shell

Solution : 2
(i) Remove easy-install.pth files available in, /usr/lib/python2.6/site-packages/ /usr/lib64/python2.6/site-packages/ (ii) Try running impala-shell


If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.