I think handling the exceptions thrown by your calls will make it work.

On Fri, Sep 5, 2014 at 9:20 AM, Matteo - frman <[email protected]> wrote:

> Your hints have been very useful!
>
> I was synchronizing local clock using the NTP protocol within the
> "prepare()" method of the bolt. In order to check the functionalities of
> the system, I've disabled this step and it seems to work properly.
>
> Which is, in your opinion, the best way of doing this? Using a thread?
>
> Thank you very much.
>
>
> 2014-09-05 12:58 GMT+02:00 Vikas Agarwal <[email protected]>:
>
>> It seems there is some error in initializing the bolts or spouts and it
>> may be occasional if the error is something like error in connecting to an
>> external service or database during bolt prepare method. So, you need to
>> look into the supervisor.log for exact error detail when topology does not
>> pick up. You can try manually running the worker command which would be
>> used by supervisor to launch the workers. Most of the times this method
>> helps in locating the exact error.
>>
>>
>> On Fri, Sep 5, 2014 at 3:21 PM, Matteo - frman <[email protected]> wrote:
>>
>>> I want to execute a sequential topology, composed by a source (spout)
>>> and 7 bolts.
>>>
>>> I submit it to the system without errors, but if I go on the UI the
>>> bolts are not emitting tuples; it seems like they haven't been assigned to
>>> worker processes (I'm not sure about that).
>>>
>>> Honestly I don't believe it's a topology issue, because sometimes, using
>>> the same configuration, it's executed without any kind of problem by Storm.
>>>
>>> What can I do or check to work with it?
>>>
>>> M
>>>
>>
>>
>>
>> --
>> Regards,
>> Vikas Agarwal
>> 91 – 9928301411
>>
>> InfoObjects, Inc.
>> Execution Matters
>> http://www.infoobjects.com
>> 2041 Mission College Boulevard, #280
>> Santa Clara, CA 95054
>> +1 (408) 988-2000 Work
>> +1 (408) 716-2726 Fax
>>
>>
>


-- 
Supun Kamburugamuva
Member, Apache Software Foundation; http://www.apache.org
E-mail: [email protected];  Mobile: +1 812 369 6762
Blog: http://supunk.blogspot.com

Reply via email to