The API about IMetric and the using of  ThreadMXBean may be helpful,
just like the using of MemoryMXBean in the SystemBolt. You can learn
something from the code of SystemBolt.

2014-04-21 17:10 GMT+08:00 Zhao Yue <[email protected]>:
> I guess -1 is the task id of SystemBolt. The other question may need
> others to answer……
>
> 2014-04-20 4:16 GMT+08:00 Jun Ma <[email protected]>:
>> Hello everyone,
>>
>> I got such an output from the worker's log file:
>>
>> 2014-04-19 21:15:27 b.s.d.supervisor [DEBUG] Worker
>> 4986301b-55e7-4083-9d38-f931174bc7d3 is :valid:
>> #backtype.storm.daemon.common.WorkerHeartbeat{:time-secs 1397934924,
>> :storm-id "inSight-1-1397857615", :executors #{[10 10] [-1 -1] [39 40]},
>> :port 6706} at supervisor time-secs 1397934927
>>
>> What does [-1 -1] in this line mean?  Another question is, how do I know
>> whether a task is died or not?
>>
>> many thanks.
>>
>> Jun

Reply via email to