Ensure state of your cluster can support the decommissioning of the target bookie. Check if stays true with one less bookie
Process of Decommissioning
- Log on to the bookie node, check if there are underreplicated ledgers.
If there are, the decommission command will force them to be replicated. $ bin/bookkeeper shell listunderreplicated
Validate that there are no ledgers on decommissioned bookie
$ bin/bookkeeper shell listledgers -bookieid <target bookieid>
Last step to verify is you could run this command to check if the bookie you decommissioned doesn’t show up in list bookies: