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

ASF GitHub Bot commented on KYLIN-5020:
---------------------------------------

hit-lacus merged pull request #1673:
URL: https://github.com/apache/kylin/pull/1673


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


> retry the same error url when coordinator leader changes
> --------------------------------------------------------
>
>                 Key: KYLIN-5020
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5020
>             Project: Kylin
>          Issue Type: Bug
>          Components: Real-time Streaming
>            Reporter: Kun Liu
>            Assignee: Kun Liu
>            Priority: Minor
>
> In the real-time stream, we have two coordinator node,
> When the leader changes, the receiver nodes will retry the same error url 
> until timeout.
>  
> {code:java}
> private Object getRequest(String path) throws IOException {
>     final String url = getBaseUrl() + path;
>     CoordinatorResponse response = retryCaller.call(new 
> CoordinatorRetryCallable() {
>         @Override
>         public CoordinatorResponse call() throws Exception {
>             String msg = restService.getRequest(url);
>             return JsonUtil.readValue(msg, CoordinatorResponse.class);
>         }
>     });
>     return response.getData();
> }
> {code}



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

Reply via email to