Perform the migration
When migrating to a multiple Kudu master cluster configuration, you first need to add
the new Kudu master role at the new master node using the Cloudera Manager UI and then use the
kudu master add
CLI command.
The migration procedure does not require stopping all the Kudu processes in the entire cluster but once the migration is complete, all the Kudu processes must be restarted to incorporate the newly added masters. The restarting of the Kudu processes can be done without incurring downtime.
The procedure supports adding only one master at a time. In order to add multiple masters follow the same procedure again for the next new master.
-
Using a browser, visit each master’s web UI and navigate to the
/masters
page.All the masters should be listed there with one master in the
LEADER
role and the others in theFOLLOWER
role. The contents of/masters
on each master should be the same. -
Run a Kudu system check (
ksck
) on the cluster using thekudu
command line tool. - If applicable, run a few quick SQL queries against a couple of migrated Kudu tables using impala-shell or Hue.