hewenting has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/4202

Change subject: IMPALA-4057:fix webserver_interface with 127.0.0.1 when start 
impala process
......................................................................

IMPALA-4057:fix webserver_interface with 127.0.0.1 when start impala
process

when starting impala, we have to test num_known_live_backends.
If we set webserver_interface to 127.0.0.1, The webserver can start
well, But cannot get num_known_live_backends due to send request
to http://hostname:25000 .
Here hostname is achieved by calling socket.gethostname(). eg. node1

Fix this by checking whether webserver_interface is set,
if it is set, we will send request to http://webserver_interface:25000,
otherwise send to http://hostname:25000.

Change-Id: Idcc29853b6d5db23b82a7000e0d2b80ac7403f87
---
M be/src/util/webserver-test.cc
M tests/common/impala_cluster.py
M tests/common/impala_service.py
3 files changed, 31 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/4202/1
-- 
To view, visit http://gerrit.cloudera.org:8080/4202
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idcc29853b6d5db23b82a7000e0d2b80ac7403f87
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: hewenting <[email protected]>

Reply via email to