Hello Michael Smith, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

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

to look at the new patch set (#5).

Change subject: IMPALA-11729: Speed up start-impala-cluster.py
......................................................................

IMPALA-11729: Speed up start-impala-cluster.py

The change reduces cluster startup time by 1-2 seconds. This also
makes custom cluster tests a bit quicker.

Most of the improvement is caused by removing unneeded sleep from
wait_for_catalog() - it also slept after successful connections,
while when the first coordinator is up, it is likely that all
others are also up, meaning 3*0.5s extra sleep in the dev cluster.

Other changes:
- wait_for_catalog is cleaned up and renamed to
  wait_for_coordinator_services
- decreased some sleep intervals
- removed some non-informative logging
- wait for hs2/beeswax/webui ports to be open before trying
  to actually connect to them to avoid extra logging from
  failed Thrift/http connections
- reordered startup to first wait for coordinators to be up
  then wait for num_known_live_backends in each impalad - this
  reflects better what the cluster actually waits for (1st catalog
  update before starting coordinator services)

Change-Id: Ic4dd8c2bc7056443373ceb256a03ce562fea38a0
---
M bin/start-impala-cluster.py
M tests/common/impala_cluster.py
M tests/common/impala_service.py
3 files changed, 83 insertions(+), 39 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/56/21656/5
--
To view, visit http://gerrit.cloudera.org:8080/21656
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic4dd8c2bc7056443373ceb256a03ce562fea38a0
Gerrit-Change-Number: 21656
Gerrit-PatchSet: 5
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>

Reply via email to