Removing Kudu masters through Cloudera Manager

In the event that a multi-master deployment has overallocated nodes, you can remove or decommission the unwanted masters through Cloudera Manager.

You can not decommission a leader master role from the cluster. You can only decommission a follower master role. If you want to decommission multiple master roles, do it one by one.

You must have multiple master roles added in your cluster.

  1. In Cloudera Manager, go to Kudu > Instances.
    For kerberized clusters, obtain the Kerberos credentials of the Kudu user and run the following command to perform the Raft configuration change:
    $ sudo -u kudu kudu master remove master-1,master-2 master-2
  2. Select the master role instance you want to decommission, and click Actions for Selected > Decommission.
  3. Confirm the successful removal of the Kudu master from the stdout logs and by checking the ksck report.
  4. Delete the role from .
  5. Restart the Kudu service.