What I suggested is an alternative if you are running into issues with. It will enable profiling on startup. With this method you will have to manually fire up the profiler to attach it to the worker.. and not via the web UI buttons.
Sent from Yahoo Mail for iPhone On Thursday, March 22, 2018, 2:05 AM, Julien Nioche <[email protected]> wrote: Hi Roshan, Whether I change it in the topology config or in the main one should not make any difference, should it? And that doesn't explain why I am not seeing the start profiling option at all? Thanks Julien On 22 March 2018 at 06:26, Roshan Naik <[email protected]> wrote: you can set any java options to enable java profilers via the topology.worker.childopts when submitting the topology. -Roshan Sent from Yahoo Mail for iPhone On Monday, March 19, 2018, 4:29 AM, Julien Nioche <[email protected] > wrote: Hi, I am using Storm 1.2.1 and want to profile my workers. I've set worker.profiler.enabled to true in the config and the UI's showing the values below so everything should be fine. I've modified the childopts so that it works with Oracle Java 9 and flight.bash works when I run it manually. | worker.profiler.childopts | "-XX:+UnlockCommercialFeatures -XX:+FlightRecorder" | | worker.profiler.command | "flight.bash" | | worker.profiler.enabled | true | I have 'Jstack', 'Restart worker' and 'Heap' available as actions and clickable when I select a worker but there is nothing about profiling. The documentation on http://storm.apache.org/ releases/1.2.1/dynamic-worker- profiling.html does not mention anything specific. Am I missing something here? Thanks Julien -- Open Source Solutions for Text Engineering http://www.digitalpebble.com http://digitalpebble.blogspot. com/ #digitalpebble -- Open Source Solutions for Text Engineering http://www.digitalpebble.com http://digitalpebble.blogspot.com/ #digitalpebble
