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
