Errors related to segment loading for druid 0.6.146 - LinearPartitionChunk

Hi

In the historical logs when we can start seeing issues like the following. Searched google but only found the source code for LinearPartitionChunk

io.druid.segment.loading.SegmentLoadingException: Exception loading segment[xxxx_2016-02-17T21:00:00.000Z_2016-02-17T22:00:00.000Z_2016-02-17T21:00:00.000Z_2]

at io.druid.server.coordination.ZkCoordinator.addSegment(ZkCoordinator.java:136)

at io.druid.server.coordination.SegmentChangeRequestLoad.go(SegmentChangeRequestLoad.java:44)

at io.druid.server.coordination.BaseZkCoordinator$1.childEvent(BaseZkCoordinator.java:113)

at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:509)

at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:503)

at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)

at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)

at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:83)

at org.apache.curator.framework.recipes.cache.PathChildrenCache.callListeners(PathChildrenCache.java:500)

at org.apache.curator.framework.recipes.cache.EventOperation.invoke(EventOperation.java:35)

at org.apache.curator.framework.recipes.cache.PathChildrenCache$10.run(PathChildrenCache.java:762)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.IllegalArgumentException: Cannot compare against something that is not a LinearPartitionChunk.

at io.druid.timeline.partition.LinearPartitionChunk.compareTo(LinearPartitionChunk.java:86)

at io.druid.timeline.partition.LinearPartitionChunk.compareTo(LinearPartitionChunk.java:26)

at java.util.TreeMap.put(TreeMap.java:560)

at java.util.TreeSet.add(TreeSet.java:255)

at io.druid.timeline.partition.PartitionHolder.add(PartitionHolder.java:62)

at io.druid.timeline.VersionedIntervalTimeline.add(VersionedIntervalTimeline.java:105)

at io.druid.server.coordination.ServerManager.loadSegment(ServerManager.java:179)

at io.druid.server.coordination.ZkCoordinator.addSegment(ZkCoordinator.java:132)

… 17 more

Hey,
Can you make sure that all the realtime node are using the same sharding spec.

Also can share the specFiles used to ingest data ?