You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Mukul Kumar Singh (JIRA)" <ji...@apache.org> on 2019/02/28 09:20:00 UTC

[jira] [Created] (RATIS-491) Ratis groupAdd should fail if the directory creation fails for the raft group directory fails

Mukul Kumar Singh created RATIS-491:
---------------------------------------

             Summary: 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
             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)