You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/07/14 11:15:00 UTC
[jira] [Updated] (HDDS-10909) OM stops in single-node Docker container with default settings
[ https://issues.apache.org/jira/browse/HDDS-10909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-10909:
----------------------------------
Labels: GoodForNewContributors good-first-issue pull-request-available (was: GoodForNewContributors good-first-issue)
> OM stops in single-node Docker container with default settings
> --------------------------------------------------------------
>
> Key: HDDS-10909
> URL: https://issues.apache.org/jira/browse/HDDS-10909
> Project: Apache Ozone
> Issue Type: Bug
> Components: docker
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Yuqi Du
> Priority: Major
> Labels: GoodForNewContributors, good-first-issue, pull-request-available
>
> Trying to run Ozone in a single docker container using command from [wiki|https://cwiki.apache.org/confluence/display/OZONE/Running+via+DockerHub]:
> {code}
> docker run -d -p 9878:9878 -p 9876:9876 apache/ozone
> {code}
> OM stops due to misconfig:
> {code}
> 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)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org