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

OM stops in single-node Docker container with default settings

    XMLWordPrintableJSON

Details

    Description

      Trying to run Ozone in a single docker container using command from wiki:

      docker run -d -p 9878:9878 -p 9876:9876 apache/ozone
      

      OM stops due to misconfig:

      2024-05-24 05:35:05 WARN  ServerUtils:323 - Storage directory for Ratis is not configured. It is a good idea to map this to an SSD disk. Falling back to ozone.metadata.dirs
      2024-05-24 05:35:05 WARN  OzoneManagerRatisUtils:473 - ozone.om.ratis.snapshot.dir is not configured. Falling back to ozone.metadata.dirs config
      2024-05-24 05:35:05 ERROR OzoneManagerStarter:76 - OM start failed with exception
      java.io.IOException: Ratis group Dir on disk tmp does not match with RaftGroupIDbf265839-605b-3f16-9796-c5ba1605619e generated from service id omServiceIdDefault. 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.
              at org.apache.hadoop.ozone.om.OzoneManager.initializeRatisDirs(OzoneManager.java:1476)
              at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:697)
              at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:771)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:189)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:86)
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:74)
              at org.apache.hadoop.hdds.cli.GenericCli.call(GenericCli.java:38)
              ...
              at org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:58)
      

      Attachments

        Issue Links

          Activity

            People

              shenxingwuying Yuqi Du
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: