Realtime node not able to write to /temp/base/persist

23 views
Skip to first unread message

Amey Jain

unread,
Jan 21, 2016, 10:12:50 PM1/21/16
to Druid User
Hi,

I had a running small cluster of druid.

I checked its log and it is having issues and periodically printing this :

Exception in thread "plumber_persist_5" com.metamx.common.ISE: Can only persist to directories, [/tmp/realtime/basePersist/wikipedia/2015-01-23T01:00:00.000Z_2015-01-23T01:05:00.000Z/0] wasn't a directory
    at io.druid.segment.IndexMerger.persist(IndexMerger.java:192)
    at io.druid.segment.IndexMerger.persist(IndexMerger.java:161)
    at io.druid.segment.IndexMerger.persist(IndexMerger.java:138)
    at io.druid.segment.realtime.plumber.RealtimePlumber.persistHydrant(RealtimePlumber.java:972)
    at io.druid.segment.realtime.plumber.RealtimePlumber$3.doRun(RealtimePlumber.java:405)
    at io.druid.common.guava.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:40)
    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)

I checked the /tmp/realtime folder is empty I am not sure why it is empty now. I didn't restarted the realtime node.
Can you please help in this?

Fangjin Yang

unread,
Jan 22, 2016, 10:53:33 PM1/22/16
to Druid User
Hmmm, the operating system likely removed the directory. Can you set  "basePersistDirectory" in your tuning config to something that's not /tmp?
Reply all
Reply to author
Forward
0 new messages