Decommission or remove a tablet server

You can decommission or permanently remove a tablet server from a cluster.

Starting with Kudu 1.12, the Kudu rebalancer tool can be used to decommission a tablet server by supplying the --ignored_tservers and --move_replicas_from_ignored_tservers arguments.

  1. Ensure the cluster is in good health using ksck.
  2. Put the tablet server into a maintenance mode by using the kudu tserver state enter_maintenance tool.
  3. Run the kudu cluster rebalance tool, supplying the --ignored_tservers argument with the UUIDs of the tablet servers to be decommissioned, and the --move_replicas_from_ignored_tservers flag.
  4. Wait for the moves to complete and for ksck to show the cluster in a healthy state.
  5. The decommissioned tablet server can be brought offline by stopping the tablet server in Cloudera Manager.
  6. Run the kudu tserver unregister tool with the -force_unregister_live_tserver flag to remove the decommissioned tablet server's entries from the system catalog and obtain a healthy ksck report.