一问读懂Apache Kudu( 四 )


5、将一台存活master的元数据拷贝过来,用kudu用户执行,将目录改为kudu拥有者kudu local_replica copy_from_remote --fs_wal_dir=/home/data/kudu-master --fs_data_dirs=/home/data/kudu-master 00000000000000000000000000000000 10-12-7-14.testddw.sina.com:7051
6、新master和存活master上更新master listkudu local_replica cmeta rewrite_raft_config --fs_wal_dir=/home/data/kudu-master --fs_data_dirs=/home/data/kudu-master 00000000000000000000000000000000 af4f6c30a3b04d86ae0172598d443a32:10-12-7-11.testddw.sina.com:7051 176a9a6dbc854614abd7940082270372:10-12-7-13.testddw.sina.com:7051
13b8832c228e4022b013fef555f5ae28:10-12-7-14.testddw.sina.com:7051
7、在CM界面将新master加入并启动,删除停掉待替换的master,然后新master和之前存活的master一台台重启8、检查master状态,需要在每个master管理页面看到的master节点列表是一致的9、执行健康检查脚本kudu cluster ksck 10.12.7.11,10.12.7.12,10.12.7.13,10.12.7.14,10.12.7.15




推荐阅读