Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7088

OM incorrectly detects SCM Ratis Group ID when OM and SCM are colocated with same Ratis storage directory

    XMLWordPrintableJSON

Details

    Description

      When OM and SCM are colocated and ozone.om.ratis.storage.dir and ozone.scm.ha.ratis.storage.dir are set to the same directory, the OM will incorrectly detect SCM's Ratis group ID and think that were was an erroneous change to the OM service ID.

      22022-07-21 12:57:24,691 ERROR org.apache.hadoop.ozone.om.OzoneManagerStarter: OM start failed with exception
      java.io.IOException: Ratis group Dir on disk scm does not match with RaftGroupID7f6848f2-63c2-3ce4-a1d2-9e88065dfcc3 generated from service id ozone1. Looks like there is a change to ozone.om.service.ids value after the cluster is setup. Currently change to this value is not supported.
      

      This Jira is to support setting the two configurations to the same directory when OM and SCM are colocated while still maintaining the OM service ID check.

      Attachments

        Issue Links

          Activity

            People

              nakumar Navin Kumar
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: