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

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

zhangayqian commented on pull request #1014: KYLIN-4295 Instances displayed on 
Query Node are inconsistent with JobNode
URL: https://github.com/apache/kylin/pull/1014
 
 
   Query Node can't get allParticipants because query node no need to run job 
scheduler, so the jobClient is null.
   Job Node:
   <img width="1123" alt="图片" 
src="https://user-images.githubusercontent.com/31064237/71354317-8098e200-25b6-11ea-8b5a-e7471cfe2a98.png";>
   Query Node:
   <img width="1122" alt="图片" 
src="https://user-images.githubusercontent.com/31064237/71354344-9a3a2980-25b6-11ea-97d4-5443d6d37aaa.png";>
   
   We can add instance of the mode  equals ‘job’ or ‘all’ to job node list in 
query server, but query server can not find which job node is Leader. In order 
to avoid instance page display a leader as a follower by mistake, just display 
the Leader of job node as Job Node (Leader), the others display as Job Node.
   Job Node:
   <img width="1137" alt="图片" 
src="https://user-images.githubusercontent.com/31064237/71356316-cf497a80-25bc-11ea-8471-6c7b2ff82928.png";>
   Query Node:
   <img width="1120" alt="图片" 
src="https://user-images.githubusercontent.com/31064237/71356426-251e2280-25bd-11ea-8cd7-10f732c0bca2.png";>
   
   
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Instances displayed on Query Node are inconsistent with Job Node
> ----------------------------------------------------------------
>
>                 Key: KYLIN-4295
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4295
>             Project: Kylin
>          Issue Type: Bug
>          Components: Web 
>    Affects Versions: v3.0.0-alpha2
>            Reporter: Temple Zhou
>            Assignee: Yaqian Zhang
>            Priority: Minor
>         Attachments: 4691576071454_.pic_hd.jpg, 4731576071552_.pic_hd.jpg
>
>
> As shown in attachments.
> BTW: It is a backend issue, as the results return by restful API are 
> inconsistent.
> {code:json}
> {"code":"000","data":{"allNodes":["kylin-query-2.kylin.kylin.svc.cluster.local:7070","kylin-query-1.kylin.kylin.svc.cluster.local:7070","kylin-job-0.kylin.kylin.svc.cluster.local:7070","kylin-query-0.kylin.kylin.svc.cluster.local:7070"],"jobNodes":[],"queryNodes":["kylin-query-2.kylin.kylin.svc.cluster.local:7070","kylin-query-1.kylin.kylin.svc.cluster.local:7070","kylin-job-0.kylin.kylin.svc.cluster.local:7070","kylin-query-0.kylin.kylin.svc.cluster.local:7070"],"selectedLeaders":[],"activeJobNodes":["kylin-job-0.kylin.kylin.svc.cluster.local:7070"]},"msg":"get
>  service discovery's state"}
> {code}
> {code:json}
> {"code":"000","data":{"allNodes":["kylin-query-2.kylin.kylin.svc.cluster.local:7070","kylin-query-1.kylin.kylin.svc.cluster.local:7070","kylin-job-0.kylin.kylin.svc.cluster.local:7070","kylin-query-0.kylin.kylin.svc.cluster.local:7070"],"jobNodes":["kylin-job-0.kylin.kylin.svc.cluster.local:7070"],"queryNodes":["kylin-query-2.kylin.kylin.svc.cluster.local:7070","kylin-query-1.kylin.kylin.svc.cluster.local:7070","kylin-job-0.kylin.kylin.svc.cluster.local:7070","kylin-query-0.kylin.kylin.svc.cluster.local:7070"],"selectedLeaders":["kylin-job-0.kylin.kylin.svc.cluster.local:7070"],"activeJobNodes":["kylin-job-0.kylin.kylin.svc.cluster.local:7070"]},"msg":"get
>  service discovery's state"}
> {code}
>  



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

Reply via email to