You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Jun Ma <ju...@googlemail.com> on 2014/04/19 22:16:48 UTC

log info of worker

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

Re: log info of worker

Posted by Jun Ma <ju...@googlemail.com>.
Thanks for your advice, I'll check it.

Jun


2014-04-21 11:20 GMT+02:00 Zhao Yue <zh...@gmail.com>:

> 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 <zh...@gmail.com>:
> > 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 <ju...@googlemail.com>:
> >> 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
>

Re: log info of worker

Posted by Zhao Yue <zh...@gmail.com>.
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 <zh...@gmail.com>:
> 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 <ju...@googlemail.com>:
>> 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

Re: log info of worker

Posted by Zhao Yue <zh...@gmail.com>.
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 <ju...@googlemail.com>:
> 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