[ 
https://issues.apache.org/jira/browse/KUDU-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17225869#comment-17225869
 ] 

ASF subversion and git services commented on KUDU-2966:
-------------------------------------------------------

Commit 1a22d50fdd7018ed7d277a229cfd26c90451d68d in kudu's branch 
refs/heads/master from Alexey Serbin
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=1a22d50 ]

[test] shorter timeouts for client-negotiation-failover

It's now possible to configure connection negotiation timeout in Kudu
C++ client (see KUDU-2966), and this patch uses the newly introduced
functionality to set shorter negotiation timeouts for all scenarios in
client-negotiation-failover-itest.  Doing so reduces the time spent
running the test.  Below are the results from the binary built in DEBUG
mode:

  KUDU_ALLOW_SLOW_TESTS=1 ./bin/client-negotiation-failover-itest

Before:
  [==========] 4 tests from 1 test case ran. (84445 ms total)
  [  PASSED  ] 4 tests.

After:
  [==========] 4 tests from 1 test case ran. (46295 ms total)
  [  PASSED  ] 4 tests.

Change-Id: Iabf7b6218b39c4348f87822218c3320949778cf9
Reviewed-on: http://gerrit.cloudera.org:8080/16692
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <[email protected]>


> Make client negotiation timeouts configurable
> ---------------------------------------------
>
>                 Key: KUDU-2966
>                 URL: https://issues.apache.org/jira/browse/KUDU-2966
>             Project: Kudu
>          Issue Type: Bug
>          Components: java, rpc
>    Affects Versions: 1.11.0
>            Reporter: Adar Dembo
>            Priority: Major
>
> We saw a cluster in the wild where some negotiation steps between endpoints 
> were additionally delayed for some small number of seconds. The existing 
> {{\-\-rpc_negotiation_timeout_ms}} gflag can help workaround this on servers, 
> but there's no equivalent in clients, whose negotiation timeouts are 
> hardcoded to 3s in the C++ client and 10s in the Java client.
> It would be nice to expose a simple API to reconfigure the negotiation 
> timeout.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to