You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by #ZHANG SHUHAO# <SZ...@e.ntu.edu.sg> on 2016/06/30 04:09:56 UTC

custom scheduling bug?

Hi all,


I'm testing with custom scheduling using Storm v1.0.0, but observed a weird situation:

At first, my custom scheduler successfully schedule all components of a topology.

That is "org.apache.storm.scheduler.cluster.needsScheduling(topology);" returns false.

After a while, it again detect the topology has some components needed to be scheduled, and re-perform scheduling again. Why?

Thanks.
Best regards.
Shuhao Zhang (Tony)
+65-86166722


Re: custom scheduling bug?

Posted by Erik Weathers <ew...@groupon.com>.
Have you checked if 1 or more of the worker processes for that topology
died?

On Wed, Jun 29, 2016 at 9:09 PM, #ZHANG SHUHAO# <SZ...@e.ntu.edu.sg>
wrote:

> Hi all,
>
>
>
>
>
> I’m testing with custom scheduling using Storm v1.0.0, but observed a
> weird situation:
>
>
>
> At first, my custom scheduler successfully schedule all components of a
> topology.
>
>
>
> That is “org.apache.storm.scheduler.cluster.needsScheduling(topology);”
> returns false.
>
>
>
> After a while, it again detect the topology has some components needed to
> be scheduled, and re-perform scheduling again. Why?
>
>
>
> Thanks.
>
> Best regards.
>
> Shuhao Zhang (Tony)
>
> +65-86166722
>
>
>