Apply Final Configuration Updates
Update Tablet Server Configuration
You can update all tablet servers with the new master addresses configuration.
Update tserver_master_addrs: Ambari automatically updates the
tserver_master_addrsparameter when configuring tablet servers.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.
- In Ambari, navigate to the Kudu service.
- Select Rolling Restart to restart tablet servers in batches.
- 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_PARAMSSET 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;1.
Was this page helpful?