Elon
12/07/2021, 6:00 PMCOMPLETED
segments to have numInstancesPerPartition
= 0 (so it can use all instances). Is upsert compatible with pool based instance assignment?Elon
12/07/2021, 6:03 PM"routing": {
"instanceSelectorType": "strictReplicaGroup"
},
"upsertConfig": {
"mode": "FULL"
},
"instanceAssignmentConfigMap": {
"CONSUMING": {
"tagPoolConfig": {
"tag": "UpsertAnalytics_REALTIME",
"poolBased": true,
"numPools": 3
},
"replicaGroupPartitionConfig": {
"replicaGroupBased": true,
"numReplicaGroups": 3,
"numInstancesPerPartition": 1,
"numPartitions": 1
}
},
"COMPLETED": {
"tagPoolConfig": {
"tag": "UpsertAnalytics_REALTIME",
"poolBased": true,
"numPools": 3
},
"replicaGroupPartitionConfig": {
"replicaGroupBased": true,
"numReplicaGroups": 3,
"numInstancesPerPartition": 0,
"numPartitions": 1
}
}
}
Elon
12/07/2021, 6:04 PMnumPartitions
= # of kafka partitions for COMPLETED
segments (ex. 12) and the completed segments evenly spread across instances but we get duplicate records.Elon
12/07/2021, 6:04 PMElon
12/07/2021, 6:06 PMElon
12/07/2021, 6:46 PMJackie
12/08/2021, 12:12 AMCOMPLETED
segment cannot be relocated to another instanceJackie
12/08/2021, 12:13 AMnumInstancesPerPartition
set to 1, and should not relocate the COMPLETED
segmentsElon
12/08/2021, 12:32 AMElon
12/08/2021, 12:32 AMElon
12/08/2021, 12:36 AMnumInstancesPerPartition
= 1 then pool0-instance0, pool1-instance0, pool2-instance0 had all segments, pool0-instance1, pool0-instance2, pool1-instance1, pool1-instance2 and pool2-instance1, pool2-instance2 had no segments.Weixiang Sun
12/08/2021, 1:53 AMElon
12/08/2021, 1:55 AMnumInstancesPerPartition
= 1 look correct?Elon
12/08/2021, 1:55 AMElon
12/08/2021, 1:56 AMJackie
12/08/2021, 2:32 AMCOMPLETED
config should be removed as the segment should not be relocatedElon
12/08/2021, 2:32 AMJackie
12/08/2021, 2:32 AMElon
12/08/2021, 2:32 AMJackie
12/08/2021, 2:33 AMnumPartitions
should be 12, and all the servers will be usedElon
12/08/2021, 2:33 AMCONSUMING
numPartitions to 12 it gave an error, but I will retry now and update, thanks!Elon
12/08/2021, 3:08 AM"Caught exception while calculating target assignment: java.lang.IllegalStateException: Instance partitions: enriched_customer_orders_v1_16_2_upsert_CONSUMING should contain 1 partition"
Elon
12/08/2021, 3:09 AM"routing": {
"instanceSelectorType": "strictReplicaGroup"
},
"instanceAssignmentConfigMap": {
"CONSUMING": {
"tagPoolConfig": {
"tag": "UpsertAnalytics_REALTIME",
"poolBased": true,
"numPools": 3
},
"replicaGroupPartitionConfig": {
"replicaGroupBased": true,
"numInstances": 0,
"numReplicaGroups": 3,
"numInstancesPerReplicaGroup": 0,
"numPartitions": 12,
"numInstancesPerPartition": 1
}
}
}
Jackie
12/08/2021, 5:31 AMnumPartitions
should not be configured for realtime tableJackie
12/08/2021, 5:33 AMnumInstancesPerPartition
config as well and see if all the servers are assigned segments?Elon
12/08/2021, 10:57 AMElon
12/08/2021, 11:01 AMElon
12/08/2021, 11:01 AMElon
12/08/2021, 11:16 AMLars-Kristian Svenøy
06/23/2022, 9:46 AMJackie
06/23/2022, 5:02 PMLars-Kristian Svenøy
06/24/2022, 7:53 AM