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 2022/06/23 23:51:00 UTC

[jira] [Commented] (IMPALA-9718) Remove pkg_resources.py from Impala/shell

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

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

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

IMPALA-9718: Delete pkg_resources from impala-shell

This reverts commit 0a0001e1a85462c81c9c4617a2e864c98913f229 to re-apply
IMPALA-9718. CentOS 7 has pkg_resources available in its latest Python
2.7 release; we may need to install python-setuptools if not present in
test environments.

Also provides an isolated PYTHON_EGG_CACHE to avoid polution from the
general dev/test environment and specifically address
> UserWarning: /var/lib/jenkins/.python-eggs is writable by group/others
  and vulnerable to attack when used with get_resource_filename.

Change-Id: I8e443d78671d8afab70d784664e71a70ccfcd587
Reviewed-on: http://gerrit.cloudera.org:8080/18585
Reviewed-by: Wenzhe Zhou <wz...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Remove pkg_resources.py from Impala/shell
> -----------------------------------------
>
>                 Key: IMPALA-9718
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9718
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Clients
>    Affects Versions: Impala 4.0.0
>            Reporter: David Knupp
>            Assignee: Michael Smith
>            Priority: Major
>
> pkg_resources is available in the stdlib. There should be no need to bundle it with the shell.
> Our copy of pkg_resources.py doesn't work with Python 3.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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