Hi liguozhong,
Do you mean we can use zookeeper to help on migration? What is the watch node you mentioned? I am also very interested in learn about how to upgrade a live topology. I read somewhere people are working on a “swap” command, but not sure what’s the status there. Thanks, Jia — Sent from Mailbox On Tue, Mar 17, 2015 at 6:15 AM, 李国忠 <liguozhong_ch...@qq.com> wrote: > you need zookeeper between old topology and new topology。 > old topology --》watch nodeA --》zookeeper --》 new topology --》 change nodeA > state--》watcher --》old topology stop pulling--》ok。 > am I right? > ------------------ Original ------------------ > From: "Emmanuel"<ele...@msn.com>; > Date: 2015年3月17日(星期二) 凌晨3:05 > To: "user"<user@storm.apache.org>; > Subject: Updating a live topology > Hello, > Can someone explain to me how one would update a live topology? > I assume one would run a new topology with the updated code, and switch off > the old one, but how to make the transition in terms of the data flow? > How to tell the topology to stop pulling data from the queue when the new > topology is started? > Or is there any guarantee that the stopped topology will finish processing > the data it ingested before shutting down? > I would be very grateful if someone could enlight me on this. > Thanks > Emmanuel