Unable to persist because of slashes. Is there a way to recover?

13 views
Skip to first unread message

Noppanit Charassinvichai

unread,
Jul 25, 2016, 10:06:27 AM7/25/16
to Druid User


Exception in thread "plumber_persist_1" java.lang.RuntimeException: java.io.IOException: Unable to create temporary file, /tmp/filePeon5723717161909455496ctp:/count/hit.header at com.google.common.base.Throwables.propagate(Throwables.java:160) at io.druid.segment.realtime.plumber.RealtimePlumber.persistHydrant(RealtimePlumber.java:1049) at io.druid.segment.realtime.plumber.RealtimePlumber$3.doRun(RealtimePlumber.java:445) at io.druid.common.guava.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:42) 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.io.IOException: Unable to create temporary file, /tmp/filePeon5723717161909455496ctp:/count/hit.header at java.io.File$TempDirectory.generateFile(File.java:1898) at java.io.File.createTempFile(File.java:1987) at java.io.File.createTempFile(File.java:2040) at io.druid.segment.data.TmpFileIOPeon.makeOutputStream(TmpFileIOPeon.java:55) at io.druid.segment.data.GenericIndexedWriter.open(GenericIndexedWriter.java:68) at io.druid.segment.IndexMerger.makeIndexFiles(IndexMerger.java:657) at io.druid.segment.IndexMerger.merge(IndexMerger.java:421) at io.druid.segment.IndexMerger.persist(IndexMerger.java:193) at io.druid.segment.IndexMerger.persist(IndexMerger.java:159) at io.druid.segment.realtime.plumber.RealtimePlumber.persistHydrant(RealtimePlumber.java:1028) ... 5 more




I think it's related to this https://github.com/druid-io/druid/issues/2370. We need to put a check on our producer. However, current the task cannot be closed because of that error. Is there a way to recover this? Or we just need to cancel the task and reindex?

Fangjin

unread,
Jul 25, 2016, 1:18:51 PM7/25/16
to Druid User
Cancel and reindex.

On Mon, Jul 25, 2016 at 7:06 AM, Noppanit Charassinvichai <noppa...@gmail.com> wrote:


Exception in thread "plumber_persist_1" java.lang.RuntimeException: java.io.IOException: Unable to create temporary file, /tmp/filePeon5723717161909455496ctp:/count/hit.header at com.google.common.base.Throwables.propagate(Throwables.java:160) at io.druid.segment.realtime.plumber.RealtimePlumber.persistHydrant(RealtimePlumber.java:1049) at io.druid.segment.realtime.plumber.RealtimePlumber$3.doRun(RealtimePlumber.java:445) at io.druid.common.guava.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:42) 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.io.IOException: Unable to create temporary file, /tmp/filePeon5723717161909455496ctp:/count/hit.header at java.io.File$TempDirectory.generateFile(File.java:1898) at java.io.File.createTempFile(File.java:1987) at java.io.File.createTempFile(File.java:2040) at io.druid.segment.data.TmpFileIOPeon.makeOutputStream(TmpFileIOPeon.java:55) at io.druid.segment.data.GenericIndexedWriter.open(GenericIndexedWriter.java:68) at io.druid.segment.IndexMerger.makeIndexFiles(IndexMerger.java:657) at io.druid.segment.IndexMerger.merge(IndexMerger.java:421) at io.druid.segment.IndexMerger.persist(IndexMerger.java:193) at io.druid.segment.IndexMerger.persist(IndexMerger.java:159) at io.druid.segment.realtime.plumber.RealtimePlumber.persistHydrant(RealtimePlumber.java:1028) ... 5 more




I think it's related to this https://github.com/druid-io/druid/issues/2370. We need to put a check on our producer. However, current the task cannot be closed because of that error. Is there a way to recover this? Or we just need to cancel the task and reindex?

--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/71593ca6-a95a-47dd-a90d-a4db988de21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages