Michael Smith has submitted this change and it was merged. ( 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 in IMPALA-3343 / IMPALA-9489 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 Reviewed-on: http://gerrit.cloudera.org:8080/19641 Reviewed-by: Joe McDonnell <[email protected]> Tested-by: Michael Smith <[email protected]> --- M shell/pkg_resources.py 1 file changed, 0 insertions(+), 2 deletions(-) Approvals: Joe McDonnell: Looks good to me, approved Michael Smith: Verified -- 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: merged Gerrit-Change-Id: Ia9e05904adf9ffe303cac281538df1bbcff5e48b Gerrit-Change-Number: 19641 Gerrit-PatchSet: 3 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]>
