You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/04/28 21:11:00 UTC

[jira] [Resolved] (HDDS-5162) om in compose/ozone always fails to start on first boot

     [ https://issues.apache.org/jira/browse/HDDS-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siyao Meng resolved HDDS-5162.
------------------------------
    Resolution: Not A Bug

Not an Ozone bug. Solution is increasing the disk image size in Docker.

> om in compose/ozone always fails to start on first boot
> -------------------------------------------------------
>
>                 Key: HDDS-5162
>                 URL: https://issues.apache.org/jira/browse/HDDS-5162
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: docker
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> OM *always* fails to boot on first attempt,
> _Unable to create path: /data/metadata/ratis_
> {code:title=om}
> 2021-04-28 20:04:04,394 [main] INFO om.OzoneManager: Created Volume s3v With Owner hadoop required for S3Gateway operations.
> 2021-04-28 20:04:04,406 [main] WARN server.ServerUtils: 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
> 2021-04-28 20:04:04,411 [main] ERROR om.OzoneManagerStarter: OM start failed with exception
> java.lang.IllegalArgumentException: Unable to create path: /data/metadata/ratis
> at org.apache.hadoop.ozone.OmUtils.createOMDir(OmUtils.java:415)
> at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:454)
> at org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:903)
> at org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:125)
> at org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:79)
> at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:67)
> at org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:38)
> at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
> at picocli.CommandLine.access$1100(CommandLine.java:145)
> at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
> at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
> at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
> at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:2152)
> at picocli.CommandLine.parseWithHandlers(CommandLine.java:2530)
> at picocli.CommandLine.parseWithHandler(CommandLine.java:2465)
> at org.apache.hadoop.hdds.cli.GenericCli.execute(GenericCli.java:96)
> at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:87)
> at org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:51)
> Unable to create path: /data/metadata/ratis
> 2021-04-28 20:04:04,440 [shutdown-hook-0] INFO om.OzoneManagerStarter: SHUTDOWN_MSG:
> /************************************************************
> SHUTDOWN_MSG: Shutting down OzoneManager at 017ef37c8db2/172.19.0.8
> ************************************************************/
> {code}
> OM can boot after it is started again in the *same* docker compose cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org