[
https://issues.apache.org/jira/browse/KUDU-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333049#comment-16333049
]
Hao Hao commented on KUDU-2262:
-------------------------------
Looking at
[https://github.com/apache/kudu/blob/master/java/kudu-client/src/main/java/org/apache/kudu/client/ConnectToCluster.java#L264,]
it seems this issue should only happen in the context of authentication is
required? And we have a unit test for it at
[https://github.com/apache/kudu/blob/master/java/kudu-client/src/test/java/org/apache/kudu/client/TestConnectToCluster.java#L181].
> Java client does not retry if no master is a leader
> ---------------------------------------------------
>
> Key: KUDU-2262
> URL: https://issues.apache.org/jira/browse/KUDU-2262
> Project: Kudu
> Issue Type: Bug
> Components: java
> Affects Versions: 1.7.0
> Reporter: Todd Lipcon
> Priority: Major
>
> In a test case I tried to restart the masters and then start a new client to
> connect to the cluster. This caused the client to fail because the masters
> were in the process of a leader election.
> It probably would make more sense for the client to retry a certain number of
> times.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)