Younes Naguib
03/14/2024, 6:13 PMgroupByPreShuffle generated very large shuffles, the average is 188k, but I have one with 8.6M
Ideas?
ThanksLaksh Singla
03/14/2024, 6:35 PMDidnât specify the cluster by, so, it clustered by all the group by columns .The columns in the preShuffle are the dimensions in the
GROUP BY clause. The nomenclature is a misonmer.
The segments should be sized correctly (assuming you havenât used a LIMIT BY clause, which in itself is another unfixed bug)Laksh Singla
03/14/2024, 6:35 PMYounes Naguib
03/15/2024, 2:41 PMYounes Naguib
03/15/2024, 2:43 PMLaksh Singla
03/15/2024, 4:34 PMThe final segments are good! no issue therethanks for confirming!
Processing the shuffle is the slow part! It is also very unbalancedHmm, upon thinking, that might be the case since the output of the
groupByPreShuffleFactory should have been evenly partitioned đ¤Younes Naguib
03/15/2024, 5:17 PMYounes Naguib
03/17/2024, 2:52 AMLaksh Singla
03/17/2024, 7:47 AMAlso, running native ingestion, works fine!
Difficult to compare the twoDo you mean native ingestion is faster than MSQ based ingestion?
Younes Naguib
03/17/2024, 1:34 PMLaksh Singla
03/17/2024, 2:00 PMYounes Naguib
03/17/2024, 3:44 PMYounes Naguib
03/17/2024, 3:45 PMYounes Naguib
03/17/2024, 3:46 PMLaksh Singla
03/18/2024, 5:06 AMYounes Naguib
03/18/2024, 12:47 PMLaksh Singla
03/18/2024, 6:41 PMYounes Naguib
03/18/2024, 6:56 PMLaksh Singla
03/18/2024, 7:14 PMLaksh Singla
03/19/2024, 10:02 AMLaksh Singla
03/19/2024, 10:03 AMYounes Naguib
03/19/2024, 1:04 PM2024-03-19 13:02:07,851 [ServiceClientFactory-3] level: INFO category: org.apache.druid.rpc.ServiceClientImpl - message: Service [query-b6b09176-9b11-4c3a-bcb1-474bc258a035] request [POST <http://x.x.x.x:8100/druid/worker/v1/chat/query-b6b09176-9b11-4c3a-bcb1-474bc258a035/counters/query-b6b09176-9b11-4c3a-bcb1-474bc258a035-worker0_0>] encountered exception on attempt #1; retrying in 100 ms (org.jboss.netty.channel.ChannelException: Channel disconnected)
2024-03-19 13:02:07,961 [ServiceClientFactory-0] level: INFO category: org.apache.druid.rpc.ServiceClientImpl - message: Service [query-b6b09176-9b11-4c3a-bcb1-474bc258a035] request [POST <http://x.x.x.x:8100/druid/worker/v1/chat/query-b6b09176-9b11-4c3a-bcb1-474bc258a035/counters/query-b6b09176-9b11-4c3a-bcb1-474bc258a035-worker0_0>] completed.Younes Naguib
03/19/2024, 1:07 PM2024-03-19 12:44:06,330 [task-runner-0-priority-0] level: INFO category: org.apache.druid.msq.statistics.ClusterByStatisticsCollectorImpl - message: Most downsampled keyCollectors: [[DelegateOrMinKeyCollector{delegate=DistinctKeyCollector{maxBytes=134217728, retainedBytes=15346958, spaceReductionFactor=0, totalWeightUnadjusted=115640}, minKey=null}]]
2024-03-19 12:44:06,330 [task-runner-0-priority-0] level: INFO category: org.apache.druid.msq.statistics.ClusterByStatisticsCollectorImpl - message: Most downsampled keyCollectors: [[DelegateOrMinKeyCollector{delegate=DistinctKeyCollector{maxBytes=134217728, retainedBytes=15346958, spaceReductionFactor=0, totalWeightUnadjusted=115640}, minKey=null}]]Younes Naguib
03/19/2024, 2:46 PMLaksh Singla
03/19/2024, 6:20 PMLaksh Singla
03/19/2024, 6:20 PMLaksh Singla
03/19/2024, 6:20 PMYounes Naguib
03/19/2024, 6:20 PMYounes Naguib
03/19/2024, 6:23 PM