java.util.concurrent.ExecutionException

java.lang.RuntimeException: java.io.IOException: Failed to rename temp directory[gs://nis-druid-old-data/segments/df0f893f4b064f8cb30ae5fdc0ffb03b/index.zip] and segment directory[gs://nis-druid-old-data/segments/segment-data-final/20161011T000000.000Z_20161012T000000.000Z/2016-10-13T12_55_26.590Z/1] is not present.

Solutions on the web3787

  • via Google Groups by SAURABH JAIN, 9 months ago
    java.lang.RuntimeException: java.io.IOException: Failed to rename temp directory[gs://nis-druid-old-data/segments/df0f893f4b064f8cb30ae5fdc0ffb03b/index.zip] and segment directory[gs://nis-druid-old-data/segments/segment-data-final/20161011T000000.000Z_20161012T000000.000Z/2016-10-13T12_55_26.590Z/1] is not present.
  • via Google Groups by Jithin Thomas, 8 months ago
    java.lang.RuntimeException: java.io.IOException: Failed to rename temp directory[hdfs://172.31.8.224:54310/druid/segments/4567316111594cf09901b42ea8b22b40/index.zip] and segment directory[hdfs://172.31.8.224:54310/druid/segments/conn_recs/20161107T230000.000Z_20161107T231500.000Z/2016-11-07T23_04_31.605Z/1] is not present.
  • java.lang.RuntimeException: java.io.IOException: insufficient data written
  • Stack trace

    • java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.io.IOException: Failed to rename temp directory[gs:/
    • is-druid-old-data/segments/df0f893f4b064f8cb30ae5fdc0ffb03b/index.zip] and segment directory[gs:/
    • is-druid-old-data/segments/segment-data-final/20161011T000000.000Z_20161012T000000.000Z/2016-10-13T12_55_26.590Z/1] is not present. at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)[guava-16.0.1.jar:?] at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)[guava-16.0.1.jar:?] at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)[guava-16.0.1.jar:?] at io.druid.segment.realtime.appenderator.FiniteAppenderatorDriver.publishAll(FiniteAppenderatorDriver.java:417)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.segment.realtime.appenderator.FiniteAppenderatorDriver.finish(FiniteAppenderatorDriver.java:256)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.indexing.kafka.KafkaIndexTask.run(KafkaIndexTask.java:503)[druid-kafka-indexing-service-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:436)[druid-indexing-service-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:408)[druid-indexing-service-0.9.2-rc1.jar:0.9.2-rc1] 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.io.IOException: Failed to rename temp directory[gs:/
    • is-druid-old-data/segments/df0f893f4b064f8cb30ae5fdc0ffb03b/index.zip] and segment directory[gs:/
    • is-druid-old-data/segments/segment-data-final/20161011T000000.000Z_20161012T000000.000Z/2016-10-13T12_55_26.590Z/1] is not present. at com.google.common.base.Throwables.propagate(Throwables.java:160)[guava-16.0.1.jar:?] at io.druid.segment.realtime.appenderator.AppenderatorImpl.mergeAndPush(AppenderatorImpl.java:585)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.segment.realtime.appenderator.AppenderatorImpl.access$600(AppenderatorImpl.java:93)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.segment.realtime.appenderator.AppenderatorImpl$3.apply(AppenderatorImpl.java:467)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.segment.realtime.appenderator.AppenderatorImpl$3.apply(AppenderatorImpl.java:455)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] at com.google.common.util.concurrent.Futures$1.apply(Futures.java:713)[guava-16.0.1.jar:?] at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:861)[guava-16.0.1.jar:?] ... 3 more Caused by: java.io.IOException: Failed to rename temp directory[gs:/
    • is-druid-old-data/segments/df0f893f4b064f8cb30ae5fdc0ffb03b/index.zip] and segment directory[gs:/
    • is-druid-old-data/segments/segment-data-final/20161011T000000.000Z_20161012T000000.000Z/2016-10-13T12_55_26.590Z/1] is not present. at io.druid.storage.hdfs.HdfsDataSegmentPusher.push(HdfsDataSegmentPusher.java:125)[druid-hdfs-storage-0.9.2-rc1.jar:0.9.2-rc1] at io.druid.segment.realtime.appenderator.AppenderatorImpl.mergeAndPush(AppenderatorImpl.java:571)[druid-server-0.9.2-rc1.jar:0.9.2-rc1] ... 8 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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.