Thanks Derek! I tried your suggestion, copied the entire storm home directory (which, in my case, is "storm-0.8.2") to a new directory "storm2", then in "storm2" directory, I changed the conf/storm.yaml with different ports, and tried to create a new supervisor. Still, got the same supervisor ID as the 1st one (which I created from "storm-0.8.2" directory).
Did I do anything incorrectly? -Tao -----Original Message----- From: Derek Dagit [mailto:[email protected]] Sent: Friday, August 22, 2014 11:01 AM To: [email protected] Subject: Re: Create multiple supervisors on same node The two supervisors are sharing the same state, and that is how they get the same randomly-generated ID. If I recall correctly, the default state directory is created in the current working directory of the process, so that is whatever directory you happen to be in when you start the supervisor. I think probably a good thing to do is copy the entire storm home directory, change the storm.yaml in the copy to be configured with different ports as you tried, and make sure to cd into the appropriate directory when you launch the supervisor. -- Derek On 8/22/14, 9:49, Yu, Tao wrote: > Hi all, > > Anyone knows what's the requirement to generate multiple supervisors on the > same node (for same topology)? I can create the 1st supervisor, then I > update the "supervisor.slots.ports" to different ports, and tried to create > the 2nd supervisor on same node, it ends up creating a new supervisor but > with same supervisor ID as the 1st one, so it still only has one supervisor > on that node and storm UI shows 1 supervisor as well. Any suggestion on how > to create the 2nd, 3rd supervisor on the same node? > > Any help is appreciated! > > thanks, > -Tao >
