Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Create log should create missing path components #225

Closed
sijie opened this issue Oct 24, 2017 · 1 comment
Closed

Create log should create missing path components #225

sijie opened this issue Oct 24, 2017 · 1 comment

Comments

@sijie
Copy link
Member

sijie commented Oct 24, 2017

BUG REPORT

  1. Please describe the issue you observed:
  • What did you do?

namespace.createLog("/path/to/log")

  • What did you expect to see?

it should automatically create "/path" and "/path/to" if they are missing.

  • What did you see instead?

NONODE exception is thrown when creating the log.

@sijie
Copy link
Member Author

sijie commented Oct 24, 2017

this is merged by #228

@sijie sijie closed this as completed Oct 24, 2017
jiazhai pushed a commit that referenced this issue Oct 30, 2017
Descriptions of the changes in this PR:

- FileSystem API wrapper built over dlog API

(This is based on initial implementation from gerritsundaram at #43)

Features supported:

- create and append files
- open files for reading
- input stream and output stream for reading and writing data
- list files
- get file status
- rename
- mkdir

Features aren't supported:

- truncate
- currently there is no clear distinguish between file and dir
- only support delete recursive

(This change includes small changes for #224 #225 #226 ).

Author: Sijie Guo <sijie@apache.org>

Reviewers: Jia Zhai <None>

This closes #227 from sijie/fix_create_log
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants