Michael Smith has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19641


Change subject: IMPALA-12013: Remove future from pkg_resources.py
......................................................................

IMPALA-12013: Remove future from pkg_resources.py

Removes import future from pkg_resources.py as this file is fairly old
and only used with Python 2. Adding unicode_literals broke reading files
in the HOME directory during package load via pkg_resources when any of
those files contain special characters (above ASCII 127).

Testing:
- added a file with an em dash to the HOME directory, then run
  impala-shell with Python 2.7 and without setuptools installed. This
  reproduced the issue before adding this patch, and is fixed by this
  patch.

Change-Id: Ia9e05904adf9ffe303cac281538df1bbcff5e48b
---
M shell/pkg_resources.py
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/41/19641/1
--
To view, visit http://gerrit.cloudera.org:8080/19641
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9e05904adf9ffe303cac281538df1bbcff5e48b
Gerrit-Change-Number: 19641
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Smith <[email protected]>

Reply via email to