mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Previously thrift_sasl was brought into the virtualenv by building the shell. That meant the shell had to be built before the virtualenv could be used. By includeing thrift_sasl directly, the virtualenv can be used even if impala/shell is not built. Change-Id: Id1a099036b1ac8add5a314af981789ebf69ce465 Reviewed-on: http://gerrit.cloudera.org:8080/685 Reviewed-by: Casey Ching <casey@cloudera.com> Tested-by: Internal Jenkins
To install new packages: 1) Add your package to deps/requirements.txt. You should specify the version number using the "foo == x.y.z" notation so future upgrades can be done automatically. 2) Run deps/download_requirements, it will download the package to the deps dir. 3) Run the "impala-python" command, this should detect that requirements.txt changed and automatically rebuild the virtualenv. 4) Now in the python prompt, you should be able to import the new module. To upgrade a package: 1) Edit deps/requirement.txt to use the version you need. 2) Go to step 2 above.