You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/03/22 14:49:00 UTC

[jira] [Commented] (IMPALA-3343) Impala-shell compatibility with python 3

    [ https://issues.apache.org/jira/browse/IMPALA-3343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17703695#comment-17703695 ] 

ASF subversion and git services commented on IMPALA-3343:
---------------------------------------------------------

Commit 8f204c82b74c7eccfe7d921a916ec36c0785cfe7 in impala's branch refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8f204c82b ]

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 <jo...@cloudera.com>
Tested-by: Michael Smith <mi...@cloudera.com>


> Impala-shell compatibility with python 3
> ----------------------------------------
>
>                 Key: IMPALA-3343
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3343
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: Impala 2.5.0
>            Reporter: Peter Ebert
>            Assignee: Michael Smith
>            Priority: Critical
>             Fix For: Impala 4.0.0
>
>
> Installed Anaconda package and python 3, Impala shell has errors and will not run in the python 3 environment.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org