Re: How to redeploy the topology

2016-01-19 Thread Matthias J. Sax
That is not possible. You first need to "kill" the running topology, and then resubmit with the new code... -Matthias On 01/19/2016 05:49 PM, Noppanit Charassinvichai wrote: > Right now I'm using storm jar command to deploy the topology to the > storm cluster. I have setup Jenkins to deploy the

Re: How to redeploy the topology

2016-01-19 Thread Noppanit Charassinvichai
Doh! I totally miss this. http://storm.apache.org/documentation/Command-line-client.html On Tue, 19 Jan 2016 at 13:22 Noppanit Charassinvichai wrote: > How can I tell storm to stop the current topology from command line? > Ultimately, I want to automate the process. > > On Tue, 19 Jan 2016 at 13

Re: How to redeploy the topology

2016-01-19 Thread Noppanit Charassinvichai
How can I tell storm to stop the current topology from command line? Ultimately, I want to automate the process. On Tue, 19 Jan 2016 at 13:00 Stephen Powis wrote: > You would need to stop or kill the running topology first. There is an > argument to the stop command that tells storm how long (i

Re: How to redeploy the topology

2016-01-19 Thread Stephen Powis
You would need to stop or kill the running topology first. There is an argument to the stop command that tells storm how long (in secs) to wait before killing the topology. My understanding of how this works is when you issue the stop command, the topology simply disables the spouts in the topolo

How to redeploy the topology

2016-01-19 Thread Noppanit Charassinvichai
Right now I'm using storm jar command to deploy the topology to the storm cluster. I have setup Jenkins to deploy the code. However, if I want to redeploy again how can I deploy to not interrupt the current streaming because I would get the error saying the topology name already exists? Thanks