Open fletchjeff opened 4 years ago
@fletchjeff -- My guess is that six has changed its API. Grr. A workaround for immediate use might be to try installing six==1.13.0.
@fletchjeff -- actually, that's not the case. I think six 1.14.0 still supports ensure binary. I'm not sure what's happening here.
Yep, seeing the same thing error with the example for CDSW 1.7.x trying to connect to a secure CDH 6.x cluster:
The odd thing is that is looks like that attribute is there in the six module: https://six.readthedocs.io/#six.ensure_binary
And it was added in the 1.12.0 version: https://raw.githubusercontent.com/benjaminp/six/master/CHANGES
Any update on this? I'm running into the same problem. I've tried multiple versions of six and impyla and cannot get it to work.
I hit the same issue, because of the builtin six.py
>> six.__file__
/var/lib/cdsw/python3-engine-deps/lib/python3.6/site-packages/six.py
>> import importlib
>> sys.path=["/usr/local/lib/python3.6/dist-packages/pip/_vendor/"]+sys.path
>> importlib.reload(six)
>> six.__file__
/usr/local/lib/python3.6/dist-packages/pip/_vendor/six.py
>> six.ensure_binary
<function six.ensure_binary>
Same issue here, Python scripts works when run manually but fails as a job. Thanks to @t3rmin4t0r 's hack I managed to make it work but a proper solution would be much better. Not sure if the issue is in CDSW or the Impyla library. Thanks
When I try connecting to an Impala host on an EDH cluster, I'm getting the following error:
And the following python packages are installed: