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

ASF subversion and git services commented on IMPALA-13208:
----------------------------------------------------------

Commit 653e5388dd34252c3c6357172a4b81f030b4651f in impala's branch 
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=653e5388d ]

IMPALA-13408: use a specific flag for the topic prefix cluster identifier.

The cluster_id flag was introduced in IMPALA-12426 to identify Impala
clusters in systems where a single query_log table could be shared. In
IMPALA-13208 the cluster_id flag was reused as a prefix to topic names
for backend membership, to allow sub-clusters of backends within a
Statestore service.

There have been some problems with the interaction of these two usages.
An important difference is that the query_log cluster_id must be set
only on coordinators, whereas the topic prefix cluster_id must be set
simultaneously on coordinators, executors, and admission daemons
(if present). If a system is started with cluster_id set only on
coordinators then there are split-brain problems where coordinators and
executors are tracked in different topics. In addition, the query_log
cluster_id is more likely to be user-settable as it is used for data in
query_log which will be read by humans, who may want to write queries
selecting data from their ‘production’ or ‘dev’ clusters.

Avoid these problems by using a separate flag for the topic prefix
cluster_id ‘cluster_membership_topic_id’.

Change-Id: Icd3f7e1c73c00a7aaeee79ecb461209e3939c422
Reviewed-on: http://gerrit.cloudera.org:8080/21867
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Add cluster id to the membership and request-queue topic names
> --------------------------------------------------------------
>
>                 Key: IMPALA-13208
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13208
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Critical
>             Fix For: Impala 4.5.0
>
>
> Coordinators subscribe to 3 statestore topics: catalog-update, 
> impala-membership and impala-request-queue. The last two topics are about 
> query scheduling. To separate the cluster or share catalogd and statestore 
> across Impala clusters, we can add the cluster id to these two topic names. 
> Impalads are only visible to each other inside the same cluster (i.e. using 
> the same cluster id). Queries won't be scheduled across clusters.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to