Thank you.

To be more specific, I looked at DefaultScheduler source. It's getting the list 
of available slots as node+port combination...So if a node has two slots and 
next node has 2 more slots, will the workers for the topology be assigned to 2 
slots in one node or one slot in each node?
Appreciate your help.


From: Grant Overby (groverby) [mailto:[email protected]]
Sent: Thursday, March 12, 2015 6:38 PM
To: [email protected]
Subject: Re: configuring topology.workers

Topologies are assigned to supervisors in a round robin fashion by the default 
scheduler.

You can provide other schedulers: 
http://xumingming.sinaapp.com/885/twitter-storm-how-to-develop-a-pluggable-scheduler/
[Image removed by sender.]


Grant Overby
Software Engineer
Cisco.com<http://www.cisco.com/>
[email protected]<mailto:[email protected]>
Mobile: 865 724 4910



[Image removed by sender.] Think before you print.


This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.

Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.




From: Srividhya Shanmugam 
<[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, March 12, 2015 at 5:26 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: configuring topology.workers

All,

I am trying to understand how setting topology.workers will impact distribution 
of work for a given topology. Say if storm cluster has 2 supervisor nodes and 
both the nodes are configured with supervisor.slots.ports: 6700, 6701,6702,6703.

If the  topology.workers is set to 2, will storm run two worker process in  one 
node or two worker process - one in each node? How storm determines this?

Thanks much,
Srividhya

This email and any files transmitted with it are confidential, proprietary and 
intended solely for the individual or entity to whom they are addressed. If you 
have received this email in error please delete it immediately.

This email and any files transmitted with it are confidential, proprietary and 
intended solely for the individual or entity to whom they are addressed. If you 
have received this email in error please delete it immediately.

Reply via email to