mirror of
https://github.com/apache/impala.git
synced 2026-01-26 12:02:21 -05:00
In the test-with-docker context, rpc-mgr-kerberized-test was failing, ultimately due to the fact that the hostname was resolving to 127.0.0.1 and then back to 'localhost'. This commit applies a workaround of adding "127.0.0.1 $(hostnahostname)" to /etc/hosts, which allows the test to pass, and is what's done in bootstrap_system.sh. In the Docker context, /etc/hosts needs to be updated on every container start, because Docker tries to provide an /etc/hosts for you. Previously, we were doing a different customization (adding "hostname" to the existing "127.0.0.1" line), which wasn't good enough for rpc-mgr-kerberized-test. The original workaround, which is in "boostrap_system.sh" is still in place, but I've added more documentation about reproduction there. I've also filed HDFS-13797 to track the HDFS issue. Change-Id: I91003cbc86177feb7f99563f61297f7da7fabab4 Reviewed-on: http://gerrit.cloudera.org:8080/11113 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Docker-related scripts for Impala
test-with-docker.py runs the Impala build and tests inside of Docker
containers, parallelizing the test execution across test suites. See that file
for more details.