io.druid.segment.loading.SegmentLoadingException

Exception loading segment[content20stats_2016-09-12T00:00:00.000Z_2016-09-13T00:00:00.000Z_2016-09-12T00:00:00.136Z_1]

Solutions on the web78

  • via Google Groups by Tommaso Parisi, 9 months ago
    Exception loading segment[content20stats_2016-09-12T00:00:00.000Z_2016-09-13T00:00:00.000Z_2016-09-12T00:00:00.136Z_1]
  • via Google Groups by jaehc, 6 months ago
    Exception loading segment[wikiticker_2015-09-12T00:00:00.000Z_2015-09-13T00:00:00.000Z_2016-08-19T09:49:18.904Z]
  • via Google Groups by Ben Vogan, 1 month ago
    Exception loading segment[business_events_2016-10-24T15:00:00.000Z_2016-10-24T16:00:00.000Z_2016-09-11T15:12:32.883Z]
  • Stack trace

    • io.druid.segment.loading.SegmentLoadingException: Exception loading segment[content20stats_2016-09-12T00:00:00.000Z_2016-09-13T00:00:00.000Z_2016-09-12T00:00:00.136Z_1] at io.druid.server.coordination.ZkCoordinator.loadSegment(ZkCoordinator.java:309)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.server.coordination.ZkCoordinator.addSegment(ZkCoordinator.java:350)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.server.coordination.SegmentChangeRequestLoad.go(SegmentChangeRequestLoad.java:44)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.server.coordination.ZkCoordinator$1.childEvent(ZkCoordinator.java:152)[druid-server-0.9.1.1.jar:0.9.1.1] at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:522)[curator-recipes-2.10.0.jar:?] at org.apache.curator.framework.recipes.cache.PathChildrenCache$5.apply(PathChildrenCache.java:516)[curator-recipes-2.10.0.jar:?] at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:93)[curator-framework-2.10.0.jar:?] at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[guava-16.0.1.jar:?] at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:85)[curator-framework-2.10.0.jar:?] at org.apache.curator.framework.recipes.cache.PathChildrenCache.callListeners(PathChildrenCache.java:514)[curator-recipes-2.10.0.jar:?] at org.apache.curator.framework.recipes.cache.EventOperation.invoke(EventOperation.java:35)[curator-recipes-2.10.0.jar:?] at org.apache.curator.framework.recipes.cache.PathChildrenCache$9.run(PathChildrenCache.java:772)[curator-recipes-2.10.0.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_101] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[?:1.8.0_101] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_101] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_101] Caused by: java.lang.RuntimeException: java.util.zip.ZipException: invalid entry size (expected 376503 but got 376409 bytes) at com.google.common.base.Throwables.propagate(Throwables.java:160)[guava-16.0.1.jar:?] at com.metamx.common.CompressionUtils.unzip(CompressionUtils.java:146)[java-util-0.27.9.jar:?] at io.druid.segment.loading.LocalDataSegmentPuller.getSegmentFiles(LocalDataSegmentPuller.java:162)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.segment.loading.LocalLoadSpec.loadSegment(LocalLoadSpec.java:64)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegmentFiles(SegmentLoaderLocalCacheManager.java:143)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.segment.loading.SegmentLoaderLocalCacheManager.getSegment(SegmentLoaderLocalCacheManager.java:95)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.server.coordination.ServerManager.loadSegment(ServerManager.java:152)[druid-server-0.9.1.1.jar:0.9.1.1] at io.druid.server.coordination.ZkCoordinator.loadSegment(ZkCoordinator.java:305)[druid-server-0.9.1.1.jar:0.9.1.1] ... 18 more Caused by: java.util.zip.ZipException: invalid entry size (expected 376503 but got 376409 bytes) at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:384)[?:1.8.0_101] at java.util.zip.ZipInputStream.read(ZipInputStream.java:196)[?:1.8.0_101] at java.io.FilterInputStream.read(FilterInputStream.java:107)[?:1.8.0_101] at com.google.common.io.ByteStreams.copy(ByteStreams.java:175)[guava-16.0.1.jar:?] at com.google.common.io.ByteSink.writeFrom(ByteSink.java:139)[guava-16.0.1.jar:?] at com.metamx.common.CompressionUtils.unzip(CompressionUtils.java:248)[java-util-0.27.9.jar:?] at com.metamx.common.CompressionUtils$1.call(CompressionUtils.java:138)[java-util-0.27.9.jar:?] at com.metamx.common.CompressionUtils$1.call(CompressionUtils.java:134)[java-util-0.27.9.jar:?] at com.metamx.common.RetryUtils.retry(RetryUtils.java:60)[java-util-0.27.9.jar:?] at com.metamx.common.RetryUtils.retry(RetryUtils.java:78)[java-util-0.27.9.jar:?] at com.metamx.common.CompressionUtils.unzip(CompressionUtils.java:132)[java-util-0.27.9.jar:?] ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Once, 11 months ago
    19 more bugmates