Hi!
First of all thanks a lot to the devs for this awesome framework. However, I have a few questions:
I know, theres no guarantee of cleanup() being called in cluster-mode, but what are the chances? Is it more like "usually" or "barely ever"? Is it (usually/barelt/whatever) called, when running "storm kill" from nimbus or is it also possible to call "killTopology" method from within the main of the topology code? (Is the latter a good idea or rather a "no-go"?)
Second, in the jar-bundled project I configure log4j to use fileappender - will this jar-contained config be used when deploying the topology? Or will the log4j properties file in storm installation /storm/storm-0.8.1/log4j be used?
Basically, I'd like to use log.info to write some figures to the logs when cleanup() is called - how can this be done?
Thanks - but I am not 100% sure about that as in my project's log4j.xml I set a file appender to create a folder and file for logging. The folder and file are created, but empty.
Can anybody say anything about the cleanup() method and whether how reliable it is?
Man... that is a useless API to have then. I take it that this is planned for future work. Can you somehow send all the bolts a message to properly do cleanup?