storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Nioche <lists.digitalpeb...@gmail.com>
Subject Re: Worker profiling on 1.2.1
Date Tue, 27 Mar 2018 13:46:16 GMT
Done, see https://github.com/apache/storm/pull/2607

On 27 March 2018 at 11:17, Julien Nioche <lists.digitalpebble@gmail.com>
wrote:

> Hi Jungtaek
>
> I had to move to a different server and can't reproduce the same issue
> anymore. I can now see the 'start' option on the UI.
>
> I had to modify the *flight.bash* script as $JAVA_HOME is undefined, this
> yields
>
> */usr/share/apache-storm-1.2.1/bin/flight.bash: line 62: /bin/jstack: No
> such file or directory*
>
> however, the  files can be found in the default path */usr/bin*
>
> I will submit a PR so that the script checks that $JDKPATH is not empty
> and exist before using it for BINPATH. I can't see any downsides in doing
> so.
>
> Thanks
>
> Julien
>
>
> On 27 March 2018 at 09:24, Jungtaek Lim <kabhwan@gmail.com> wrote:
>
>> Julien,
>>
>> could you check whether 'profilingAndDebuggingCapable' and 'profileActionEnabled'
>> are true at the result of component API?
>>
>> You can check it via opening developer tool in browser, and open
>> component page, open network tab, and find the request which path is like
>> '/api/v1/topology/:id/component/:component'.
>>
>> http://storm.apache.org/releases/1.2.1/STORM-UI-REST-API.html
>>
>> And which OS does Storm is running on?
>>
>> Thanks,
>> Jungtaek Lim (HeartSaVioR)
>>
>> 2018년 3월 19일 (월) 오후 8:29, Julien Nioche <lists.digitalpebble@gmail.com>님이
>> 작성:
>>
>>> 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/rel
>>> eases/1.2.1/dynamic-worker-profiling.html
>>> <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 <http://twitter.com/digitalpebble>
>>>
>>
>
>
> --
>
> *Open Source Solutions for Text Engineering*
>
> http://www.digitalpebble.com
> http://digitalpebble.blogspot.com/
> #digitalpebble <http://twitter.com/digitalpebble>
>



-- 

*Open Source Solutions for Text Engineering*

http://www.digitalpebble.com
http://digitalpebble.blogspot.com/
#digitalpebble <http://twitter.com/digitalpebble>

Mime
View raw message