If you go here:

http://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html

In "How to change the parallelism of a running topology" is what you need.

2015-12-12 11:19 GMT-06:00 Renya nath N <[email protected]>:

> Can u please share  more information on  topology rebalancing..
>
> On Mon, Nov 30, 2015 at 7:51 PM, Bobby Evans <[email protected]>
> wrote:
>
> > We don't currently support rewriting a topology while it is in flight.
> > There are a few tunable parameters that you can modify while the topology
> > is in flight using the rebalance command, but not a lot of them. We hope
> to
> > add more over time.  If there are specific things you would like to
> change
> > dynamically please let us know.
> >  - Bobby
> >
> >
> >     On Wednesday, November 25, 2015 9:20 AM, Renya nath N <
> > [email protected]> wrote:
> >
> >
> >  Thank you  for the information
> >
> > On Wed, Nov 25, 2015 at 6:39 PM, Nathan Leung <[email protected]> wrote:
> >
> > > Obviously you cannot change what is in your jar file but if the bolt is
> > > already compiled you can try flux to change how your topology is
> linked.
> > > http://storm.apache.org/documentation/flux.html
> > >
> > > On Wed, Nov 25, 2015 at 5:03 AM, Renya nath N <[email protected]>
> > wrote:
> > >
> > > > Hi Ankur,
> > > >
> > > > Thank you for valuable reply,
> > > > Actually I was doing a project on intelligent query placemenet
> strategy
> > > for
> > > > real time analytics. Dynamic topology evolution is the main focus. Is
> > it
> > > > possible to dynamically tune a topology when new queries( in terms of
> > > > bolts) submitted to the system?
> > > >
> > > >
> > > > Thank you
> > > > Renya Nath N
> > > >
> > > > On Wed, Nov 25, 2015 at 1:55 PM, Ankur Garg <[email protected]>
> > > wrote:
> > > >
> > > > > Hi Renya,
> > > > >
> > > > > Can you be more elaborate what exactly are u looking for .
> > > > >
> > > > > Specifically , what is a query here . Are these queries independent
> > of
> > > > each
> > > > > other ? Where are u getting/retrieving these queries from .
> > > > >
> > > > > Nevertheless , assuming multiple queries means simple
> multiprocessing
> > > ,I
> > > > > think  u r looking for parallelism hint while defining ur
> topologies
> > > like
> > > > >
> > > > >  TopologyBuilder topicTopologyBuilder = new TopologyBuilder();
> > > > >
> > > > >    topicTopologyBuilder.setSpout("spoutName", new
> > > TopicListenerSpout(),
> > > > > 1);
> > > > >    topicTopologyBuilder.setBolt("boltName", new TopicMysqlBolt(),
> 10
> > > > > ).shuffleGrouping("spoutName");
> > > > >
> > > > > Third parameter is what will allow multiple instances/threads of
> > Spouts
> > > > and
> > > > > Bolts .
> > > > >
> > > > >
> > > > >
> > > > > On Wed, Nov 25, 2015 at 1:16 PM, Renya nath N <[email protected]
> >
> > > > wrote:
> > > > >
> > > > > > Sir,
> > > > > >
> > > > > >  How can I process multile queries in aache storm?
> > > > > > Do I need to create separate topology for each query?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thank you
> > > > > > Renya Nath N
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
>



-- 
Rodrigo Valladares Cotta
Master's Student, Computer Science
University of Nebraska-Lincoln

Reply via email to