Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-3
Description
Currently, the impala-python virtualenv gets initialized on the first invocation of bin/impala-python. Most of the time, this happens when running bin/gen_build_version.py from buildall.sh. This is a serial part of the build, and the virtualenv initialization takes more than two minutes.
It would be better to use ordinary python for bin/gen_build_version.py (and any other python commands during the build) and initialize the virtualenv as a specific step in the CMake build. This would allow the virtualenv initialization to happen in parallel to the rest of the build, which saves multiple minutes.