DropResource. This will send transitions to the nodes to clean up the resource. In you case you are in LEADER state, it will first send LEADER->STANDBY and the STANDBY->OFFLINE and then OFFLINE->DROPPED. In the OFFLINE-DROPPED, you can safely assume that this node no longer needs to hold this resource and you can do the necessary clean up.
thanks, Kishore G On Thu, Feb 20, 2014 at 9:58 PM, Sandeep Nayak <[email protected]> wrote: > Hi guys, > > Wanted to check what is the correct API for removing a resource so > that it is unavailable on any of the nodes? > > I see HelixAdmin.dropResource and HelixAdmin.resetResource. What is > the right API to use to remove a resource entirely from the cluster? > > Thanks, > > Sandeep >
