> On Dec 23, 2015, at 2:03 PM, Manoj Samel <manojsamelt...@gmail.com> wrote: > > Hi, > > Setup - slider version .80, secure hadoop cluster, registry enabled with > security > > Noticed using *** zookeeper client (zkCli.sh) *** that when slider > application is stopped, the registry entries in > zookeeper /registry/users/xxx/services/org-apache-slider/abc/components do > not get deleted. However, they do get updated when application is started > again and new container IDs get allocated. In this case, the > components/containers_ do reflect new container IDs. Also noticed that ZK > registry entries do get deleted if "destroy" applications is done. > > Is this expected behavior ? Shouldn't the ZK entries be deleted when > application and its containers are not present after application is stopped > ?
Not exactly. You could think of start/stop as thaw/freeze (their actual previous incarnation). The idea is that a “stop” terminates the application instance but maintains the configuration so that another instance can be started based on the same configuration. You probably could also think of the ZK config as the “class definition” and the actual launched instance as the “Object”. > > Thanks in advance, > > Manoj