Disabling Storm Cluster in Eclipse

I have a problem. I understand the problem, but I can not find a solution. The cluster does not shut down, throws IOException.I / O methods do not work, because Windows does not allow a temporary folder. I mean this way;

C: \ Users \ Mert \ AppData \ Local \ Temp \ 8bbdc8e5-a753-40f3-afe0-0c2fcc1c25a0 \ version-2 \ log .1

A storm can delete log files for shutdown.

I tried admin mode for Eclipse.exe and javaw.exe, but it does not work. What can I do?

IO exception stack trace:

exception.detailMessage -> java.io.IOException: cannot delete file: C: \ Users \ Mert \ AppData \ Local \ Temp \ c3c9b21b-7817-4b63-92ae-555a49743d9d \ version-2 \ log .1

exception.stackTrace β†’ StackTraceElement [0] (id = 130)

Console output after startup:

java.io.IOException: Unable to delete file: C:\Users\Mert\AppData\Local\Temp\0edc7fc7-590f-452c-8f99-231b95a64a19\version-2\log.1 at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381) at backtype.storm.util$rmr.invoke(util.clj:413) at backtype.storm.testing$kill_local_storm_cluster.invoke(testing.clj:163) at backtype.storm.LocalCluster$_shutdown.invoke(LocalCluster.clj:25) at backtype.storm.LocalCluster.shutdown(Unknown Source) at WordCountTopology.main(WordCountTopology.java:83) 
+4
source share
1 answer

nathanmarz answer:

https://github.com/nathanmarz/storm/pull/102

maybe you need a bat to clean the log.

+2
source

All Articles