Hi Team,

When i try to kill topology running on windows, i see that supervisor is
aborted  (throwing exception that the jar file couldn't be deleted) and
workers seem to be running for some time (killed after some time).

The method forceDelete FilUtils.java (invoked from b.s.d.util.clj) seems to
throw exception "Unable to delete file" (possible reason is the file is in
usage by workers). The topology when killed in linux is not throwing any
exception.

*Below is the supervisor log seen in linux:*





*2014-01-06 18:37:22 b.s.d.supervisor [INFO] Removing code for storm id
Exclaim-1-13890117382014-01-06 18:37:22 b.s.d.supervisor [INFO] Shutting
down and clearing state for id de5b2e17-f160-4cbf-880a-61026de1db44.
Current supervisor time: 1389013642. State: :disallowed, Heartbeat:
#backtype.storm.daemon.common.WorkerHeartbeat{:time-secs 1389013642,
:storm-id "Exclaim-1-1389011738", :executors #{[3 3] [6 6] [9 9] [12 12]
[15 15] [18 18] [-1 -1]}, :port 6701}2014-01-06 18:37:22 b.s.d.supervisor
[INFO] Shutting down
cbeabf1f-b30e-407d-894d-8b38ab0d8494:de5b2e17-f160-4cbf-880a-61026de1db442014-01-06
18:37:22 b.s.d.supervisor [INFO] Shut down
cbeabf1f-b30e-407d-894d-8b38ab0d8494:de5b2e17-f160-4cbf-880a-61026de1db442014-01-06
18:37:22 b.s.d.supervisor [INFO] Shutting down and clearing state for id
8088db6a-7f27-4664-99aa-58931934e233. Current supervisor time: 1389013642.
State: :disallowed, Heartbeat:
#backtype.storm.daemon.common.WorkerHeartbeat{:time-secs 1389013641,
:storm-id "Exclaim-1-1389011738", :executors #{[4 4] [7 7] [10 10] [13 13]
[16 16] [-1 -1] [1 1]}, :port 6703}*


*Supervisor log in Windows (when killed topology):*



*2014-01-06 18:25:49 b.s.d.supervisor [INFO] Removing code for storm id
Exclaim-1-13890099902014-01-06 18:25:49 b.s.event [ERROR] Error when
processing eventjava.io.IOException: Unable to delete file:
storm-local\supervisor\stormdist\Exclaim-1-1389009990\stormjar.jar at
org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
~[commons-io-1.4.jar:1.4]*


can anyone suggest what the possible reason could be ?

Reply via email to