Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/11113 )
Change subject: IMPALA-7390: Configure /etc/hosts to avoid rpc-mgr-kerberized-test issues. ...................................................................... IMPALA-7390: Configure /etc/hosts to avoid rpc-mgr-kerberized-test issues. 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-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M bin/bootstrap_system.sh M docker/entrypoint.sh 2 files changed, 26 insertions(+), 4 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/11113 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I91003cbc86177feb7f99563f61297f7da7fabab4 Gerrit-Change-Number: 11113 Gerrit-PatchSet: 4 Gerrit-Owner: Philip Zeyliger <phi...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Michael Ho <k...@cloudera.com> Gerrit-Reviewer: Philip Zeyliger <phi...@cloudera.com> Gerrit-Reviewer: Sailesh Mukil <sail...@cloudera.com>