You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@impala.apache.org by "Diggs, Asoka" <as...@intel.com> on 2018/04/18 19:31:10 UTC

Continuing with IMPALA-3343, Python 3 compatibility for impala_shell.py

I’ve done some more research and testing around Python 3 compatibility for impala.  I’ve added details to jira:
https://issues.apache.org/jira/browse/IMPALA-3343

As Philip correctly guessed in our previous thread:
https://lists.apache.org/thread.html/1656337501020c81d7e47a7ea0d2a168a5e7cb3d48a3008cd4369088@%3Cdev.impala.apache.org%3E

I’m stuck at Thrift and its interaction with impala.

According to  https://pypi.org/project/thrift/  , Thrift is Python 3 friendly.  However my reading of the Beeswaxservice.py and Thrift (not necessarily complete) tells me that Beeswaxwservice.py is a compiled Thrift program, and not something I should be editing directly.  That sounds to me like I need a full Impala development and test/validation environment, and now I’m definitely in over my head.  As well as being a blocking bug that stops me from completing the exploration for making my own Python 3 compatible impala_shell.py.

That being said, I think that impala_shell is hours away from being Python 3 compatible, and I’m happy to work with somebody that has the development and test/validation environment, to see if we can get it working.  All of my research time and detailed notes added to Jira came from less than a half day of effort.


If anybody has the proper development environment and would be willing to work with me on this, please contact me and let me know.  I know that initial exploration will be a few hours, with a decent chance (all depending on the Thrift related stuff) of this being done in a few hours.

Thanks,
Asoka