I am running a storm topology with 4 workers; and 8 executors for each
bolt/spout. Is there a way I can call an initialization code in each other
before it goes ahead and creates the executors.

   The reason behind this is that I want to call the C++ code through the
JNI layer in the initialization code; which will end up creating the
mutexes which will then be shared by all the executors in the worker when
the call additional JNI calls.

Regards,
Gaurav

Reply via email to