You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "yoonsung.lee (Jira)" <ji...@apache.org> on 2020/12/02 10:38:00 UTC

[jira] [Created] (KYLIN-4834) Auto forward the job API request to the available leader job server

yoonsung.lee created KYLIN-4834:
-----------------------------------

             Summary: Auto forward the job API request to the available leader job server
                 Key: KYLIN-4834
                 URL: https://issues.apache.org/jira/browse/KYLIN-4834
             Project: Kylin
          Issue Type: Wish
          Components: Others
            Reporter: yoonsung.lee


Hi. I'm yoonsung.lee developing & operating the statistical storage using Kylin in LINE Advertising dept.

h1. Current Situation
I understand there is only one active(leader) job server instance in a Kylin cluster.
The active job server is selected by Zookeeper if there are multiple job servers in a Kylin cluster.

This is my pain point.
When my leader job server has a fault or shutdown, I want to change the leader job server automatically and the DNS server route the traffic to the changed one.
In this case, I should know which one is the leader job server as soon as possible the leader(active) has changed.
For this one, I try to watch the path of zookeeper in which the Kylin server maintain the server list in a cluster.
But, this approach has a fault in essence. It's not an implementation controlled by Kylin.

h1. Question
Is my approach appropriate for the Kylin cluster? 
If not, is there any better idea for fault tolerance of job servers with auto DNS or LoadBalancer mapping?

h1. Suggestion
So, I suggest this idea.
Any server in a Kylin cluster forwards the API request to the leader job server in the case that the request should be done by the job server and pass valid authentication. If then, I just attach all of the servers to my LoadBalancer without caring about which one is the leader job server.
 * Could this feature be harmful or have side-effects?




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