[
https://issues.apache.org/jira/browse/RATIS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukul Kumar Singh resolved RATIS-491.
-------------------------------------
Resolution: Duplicate
This is an issue in SCM pipeline creation in Ozone, and not a bug in Ratis
itself. Resolving this.
> Ratis groupAdd should fail if the directory creation fails for the raft group
> directory fails
> ---------------------------------------------------------------------------------------------
>
> Key: RATIS-491
> URL: https://issues.apache.org/jira/browse/RATIS-491
> Project: Ratis
> Issue Type: Bug
> Components: server
> Affects Versions: 0.3.0
> Reporter: Mukul Kumar Singh
> Assignee: Mukul Kumar Singh
> Priority: Major
> Fix For: 0.3.0
>
>
> Raft Storage directory creation can fail because of a FileException as noted
> in log below.
> In case the command fails, the error should be propagated back to the client.
> {code}
> 2019-02-28 08:21:52,589 INFO
> org.apache.ratis.server.storage.RaftStorageDirectory: The storage directory
> /data/disk2/scm/ratis/5c880577-edec-461e-8d0f-af1417ba7add does not exist.
> Creating ...
> 2019-02-28 08:21:52,589 WARN org.apache.ratis.util.FileUtils: Failed to
> Files.createDirectories
> /data/disk2/scm/ratis/5c880577-edec-461e-8d0f-af1417ba7add:
> java.nio.file.AccessDeniedException: /data/disk2/scm
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)