You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2016/03/10 18:03:22 UTC

[kudu-CR] Bump time that MiniCluster will wait for TS registration

Hello Adar Dembo,

I'd like you to do a code review.  Please visit

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

to review the following change.

Change subject: Bump time that MiniCluster will wait for TS registration
......................................................................

Bump time that MiniCluster will wait for TS registration

Today I'm seeing some flakiness on EC2 slaves where DNS is timing out
and it's taking 5 seconds to look up the host's FQDN. This is causing
tests to fail because they never see a TS register as expected:

  Bad status: Timed out: Waiting for tablet servers to start: 1 TS(s) never registered with master
  I0309 17:43:55.408474 26903 tablet_server.cc:134] TabletServer shutting down...
  W0309 17:43:55.476080 28554 net_util.cc:208] Time spent looking up canonical hostname for localhost 0x7d040005a7a0: real 5.062s user 0.000s     sys 0.000s

This just bumps the timeout to 15s, which should be enough time to ride
over potential DNS timeouts.

Change-Id: I8f4f7a6acae7f8746ded911e12928a75eb4dd83e
---
M src/kudu/integration-tests/external_mini_cluster.cc
M src/kudu/integration-tests/mini_cluster.h
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/2520/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2520
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f4f7a6acae7f8746ded911e12928a75eb4dd83e
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>