[jira] [Commented] (KUDU-2262) Java client does not retry if no master is a leader

2018-03-13 Thread Hao Hao (JIRA)

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

Hao Hao commented on KUDU-2262:
---

Oops, pasted the wrong one. You are right. It is commit f62e4cd0e.

> 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.3.0, 1.4.0, 1.5.0, 1.6.0
>Reporter: Todd Lipcon
>Assignee: Hao Hao
>Priority: Major
> Fix For: 1.7.0
>
>
> 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)


[jira] [Commented] (KUDU-2262) Java client does not retry if no master is a leader

2018-03-04 Thread Todd Lipcon (JIRA)

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

Todd Lipcon commented on KUDU-2262:
---

hrm, above hash might not be correct? I don't see it in my tree, but I see the 
commit f62e4cd0e19cdb3f9dc66d0809cc178e9569b3fa associated with this JIRA.

> 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.3.0, 1.4.0, 1.5.0, 1.6.0
>Reporter: Todd Lipcon
>Assignee: Hao Hao
>Priority: Major
> Fix For: 1.7.0
>
>
> 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)


[jira] [Commented] (KUDU-2262) Java client does not retry if no master is a leader

2018-01-25 Thread Hao Hao (JIRA)

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

Hao Hao commented on KUDU-2262:
---

Fixed in 8138602ea.

> 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.3.0, 1.4.0, 1.5.0, 1.6.0
>Reporter: Todd Lipcon
>Assignee: Hao Hao
>Priority: Major
> Fix For: 1.7.0
>
>
> 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)


[jira] [Commented] (KUDU-2262) Java client does not retry if no master is a leader

2018-01-19 Thread Hao Hao (JIRA)

[ 
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)


[jira] [Commented] (KUDU-2262) Java client does not retry if no master is a leader

2018-01-18 Thread Todd Lipcon (JIRA)

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

Todd Lipcon commented on KUDU-2262:
---

Similar issue to KUDU-2267 but this one happens even without authentication 
being required

> 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)