[ 
https://issues.apache.org/jira/browse/HDDS-5162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335013#comment-17335013
 ] 

Siyao Meng commented on HDDS-5162:
----------------------------------

ah. I attached a debugger, set a breakpoint at the line and found there's no 
space left:

{code}
sh-4.2$ ls -lah /data/metadata/
total 20K
drwxr-xr-x 5 hadoop users 4.0K Apr 28 21:05 .
drwxrwxrwt 1 root   root  4.0K Apr 28 21:05 ..
drwxr-xr-x 2 hadoop users 4.0K Apr 28 21:05 db.checkpoints
drwxr-xr-x 3 hadoop users 4.0K Apr 28 21:05 om
drwxr-xr-x 2 hadoop users 4.0K Apr 28 21:05 om.db
sh-4.2$ mkdir /data/metadata/ratis
mkdir: cannot create directory '/data/metadata/ratis': No space left on device
{code}

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to