Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-491

Ratis groupAdd should fail if the directory creation fails for the raft group directory fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.3.0
    • 0.3.0
    • server
    • None

    Description

      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.

      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
      

      Attachments

        Issue Links

          Activity

            People

              msingh Mukul Kumar Singh
              msingh Mukul Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: