Changing serviceID for Ozone service in Cloudera Manager
Before you run Ozone replication policies, you must ensure that the source and target cluster have different service IDs. Otherwise, you can change the service ID of either the source or target cluster and then create an Ozone replication policy on the target cluster. It is recommended that you use unique Ozone service IDs when you create the clusters to avoid changing the service ID later on.
- Stop the Ozone services on the cluster you want to change the Ozone service ID.
Go to the
tab and locate the following directories:
Remove the directories using the following commands:
rm -rf /hadoop-ozone/*
rm -rf /var/lib/hadoop-ozone/*
- Locate the ozone.service.id on the tab, and enter a unique Ozone service ID.
- Restart Ozone services.