Description
OM always fails to boot on first attempt,
Unable to create path: /data/metadata/ratis
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 ************************************************************/
OM can boot after it is started again in the same docker compose cluster.