mirror of
https://github.com/apache/impala.git
synced 2026-01-23 12:00:26 -05:00
The workarounds are: * Trying to handle the json module not being present. That module was added in Python 2.6 and also isn't used in this file! * Trying to handle import failure of ImpalaCluster. It appears that this is be a workaround for the script being run without the correct PYTHONPATH (set by set-pythonpath.sh) - see IMPALA-7989. This is fixed in this patch by sourcing it in bin/impala-python-common.sh Testing: Ran a build on CentOS 6 with Python 2.4 and confirmed that it was able to start the cluster OK. Reran a build that previously failed with the python import error. Change-Id: I80680804e61fcca81ac2b76604ef8fad70b031f5 Reviewed-on: http://gerrit.cloudera.org:8080/12100 Reviewed-by: Bharath Vissapragada <bharathv@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
1.2 KiB
1.2 KiB