Slackbot
10/06/2023, 11:13 PMPiotr Dołowy
10/06/2023, 11:43 PMOleg Yamin
10/06/2023, 11:56 PMBen Krug
10/07/2023, 1:08 AMOleg Yamin
10/07/2023, 1:18 AMOleg Yamin
10/07/2023, 1:18 AMBen Krug
10/07/2023, 1:52 AMBen Krug
10/07/2023, 1:55 AMPiotr Dołowy
10/07/2023, 10:24 AMPiotr Dołowy
10/07/2023, 10:25 AMOleg Yamin
10/27/2023, 2:41 AM"update druid_segments set payload = REPLACE(payload, '<hdfs://nameservice1>', '<hdfs://new_nameservice>') where payload like '%<hdfs://nameservice1>%';
4: restarted all services.
All set.
One note tho.. i didnt restart middleManager right away, and did it one by one.. but if i would do it again, i would restart middleManager also together with all other services, cuz then tasks will restart and will use new hdfs path.
Otherwise, the service will keep using the old path still and try to load them to wrong path. (unless you keep the "hdfs://nameservice1" part the same name for new cluster too.. then you dont have to worry about that or updating the metadata.