Apply Final Configuration Updates

Update Tablet Server Configuration

You can update all tablet servers with the new master addresses configuration.

  1. Update tserver_master_addrs: Ambari automatically updates the tserver_master_addrs parameter when configuring tablet servers.

  2. Restart the Services: Restart all services in Ambari to apply the new configuration on tablet servers. Use Ambari’s Rolling Restart feature to minimize downtime.

    1. In Ambari, navigate to the Kudu service.

    2. Select Rolling Restart to restart tablet servers in batches.

    3. Configure batch sizes and wait times between restarts.


Update Impala Integration (if applicable)

If Kudu tables are accessed through Impala, update the master addresses in the Hive Metastore (HMS).

Option 1: Update the HMS Database Directly

Run an SQL update in the underlying HMS database (for example, PostgreSQL) after migrating from one to three masters:

UPDATE TABLE_PARAMS SET PARAM_VALUE = 'master-1.example.com,master-2.example.com,master-3.example.com' WHERE PARAM_KEY = 'kudu.master_addresses' AND PARAM_VALUE = 'master-1.example.com';

Option 2: Update Each Kudu Table in Impala

Run the following command for each Kudu table in impala-shell:

ALTER TABLE <table_name> SET TBLPROPERTIES ('kudu.master_addresses' = 'master-1.example.com,master-2.example.com,master-3.example.com');

Refresh the Metadata

After updating the properties, run the following command in impala-shell:

INVALIDATE METADATA;


  Last updated