[druid-user] Problem polling DB

Hi Guys,

Can someone help me with the below error, Haven’t made any changes in the metadata table .
Using sqlserver for metadata storing.

2021-01-04T06:57:39,180 INFO [Coordinator-Exec–0] org.apache.druid.server.coordinator.DruidCoordinator - Metadata store not polled yet, skipping this run.
04/Jan/2021 06:57:39,180- DruidCoordinator: Metadata store not polled yet, skipping this run.
2021-01-04T06:57:41,190 INFO [DatabaseSegmentManager-Exec–0] org.apache.druid.metadata.SQLMetadataSegmentManager - Polled and found 212,664 segments in the database
04/Jan/2021 06:57:41,190- SQLMetadataSegmentManager: Polled and found 212,664 segments in the database
2021-01-04T06:57:41,736 ERROR [DatabaseSegmentManager-Exec–0] org.apache.druid.metadata.SQLMetadataSegmentManager - Problem polling DB.: {class=org.apache.druid.metadata.SQLMetadataSegmentManager, exceptionType=class java.lang.IllegalArgumentException, exceptionMessage=Cannot compare against something that is not a LinearPartitionChunk.}
java.lang.IllegalArgumentException: Cannot compare against something that is not a LinearPartitionChunk.
at org.apache.druid.timeline.partition.LinearPartitionChunk.compareTo(LinearPartitionChunk.java:75) ~[druid-core-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.timeline.partition.LinearPartitionChunk.compareTo(LinearPartitionChunk.java:22) ~[druid-core-0.15.1-incubating.jar:0.15.1-incubating]
at java.util.TreeMap.put(TreeMap.java:568) ~[?:1.8.0_222]
at java.util.TreeSet.add(TreeSet.java:255) ~[?:1.8.0_222]
at org.apache.druid.timeline.partition.PartitionHolder.add(PartitionHolder.java:60) ~[druid-core-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.timeline.VersionedIntervalTimeline.addAll(VersionedIntervalTimeline.java:154) ~[druid-core-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.timeline.VersionedIntervalTimeline.add(VersionedIntervalTimeline.java:120) ~[druid-core-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.client.DataSourcesSnapshot.lambda$determineOvershadowedSegments$4(DataSourcesSnapshot.java:99) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_222]
at org.apache.druid.client.DataSourcesSnapshot.determineOvershadowedSegments(DataSourcesSnapshot.java:97) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.client.DataSourcesSnapshot.(DataSourcesSnapshot.java:51) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.metadata.SQLMetadataSegmentManager.doPoll(SQLMetadataSegmentManager.java:726) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.metadata.SQLMetadataSegmentManager.poll(SQLMetadataSegmentManager.java:646) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at org.apache.druid.metadata.SQLMetadataSegmentManager.lambda$createPollTaskForStartOrder$0(SQLMetadataSegmentManager.java:189) ~[druid-server-0.15.1-incubating.jar:0.15.1-incubating]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_222]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_222]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_222]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]

I’m using druid 0.15.1 version.

Thanks,
Kapil

I will ask around a little - can you track how far back this has been happening?