Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10274

Move impala-python initialization into the CMake build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Infrastructure
    • 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.

      Attachments

        Activity

          People

            joemcdonnell Joe McDonnell
            joemcdonnell Joe McDonnell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: