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
- is duplicated by
HDDS-1210 Ratis pipeline creation doesn't check raft client reply status during initialization