[
https://issues.apache.org/jira/browse/IMPALA-10608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17312745#comment-17312745
]
ASF subversion and git services commented on IMPALA-10608:
----------------------------------------------------------
Commit ede22a63a5acec36031dfeddb86691821c24d40c in impala's branch
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ede22a6 ]
IMPALA-10608 followup: Detect the virtualenv tarball version
When rebasing from an older commit, the version change
in virtualenv can cause there to be multiple virtualenv
tarballs of different versions in the infra/python/deps
directory. bootstrap_virtualenv.py currently doesn't
handle this gracefully, because it is looking for all
virtualenv*.tar.gz files and fails when it finds more
than one.
This changes bootstrap_virtualenv.py to get the virtualenv
version from the requirements.txt file and only look
for the tarball with that version. If it fails to get
the version, it falls back to the old method.
Testing:
- Copied virtualenv-16.7.10.tar.gz to virtualenv-16.7.9.tar.gz
and verified that bootstrap_virtualenv.py works
Change-Id: Iebfa9ba5e223d5187414e02e24f34562418fae40
Reviewed-on: http://gerrit.cloudera.org:8080/17249
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
> Update the virtualenv's kudu-python version to the latest
> ---------------------------------------------------------
>
> Key: IMPALA-10608
> URL: https://issues.apache.org/jira/browse/IMPALA-10608
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 4.0
>
>
> The impala-python virtualenv currently installs kudu-python==1.2.0. This is
> very old. We should update to the latest (1.14.0). kudu-python dropped the
> numpy dependency several versions ago, which would speed up virtualenv
> bootstrap.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]