Skip to content

Commit

Permalink
Remove unsupported capabilities.
Browse files Browse the repository at this point in the history
  • Loading branch information
jihuayu committed Mar 8, 2024
1 parent 53aa0b1 commit 2167c80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
12 changes: 1 addition & 11 deletions core/src/services/hdfs_native/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,18 +186,8 @@ impl Accessor for HdfsNativeBackend {
.set_root(&self.root)
.set_native_capability(Capability {
stat: true,

read: true,
read_can_seek: true,

write: true,
write_can_append: self._enable_append,

create_dir: true,

delete: true,

list: true,

rename: true,
blocking: true,

Expand Down
10 changes: 5 additions & 5 deletions core/src/services/hdfs_native/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Using [Native Rust HDFS client](https://github.com/Kimahriman/hdfs-native).
This service can be used to:

- [x] stat
- [x] read
- [x] write
- [x] create_dir
- [ ] read
- [ ] write
- [ ] create_dir
- [x] delete
- [x] rename
- [x] list
- [ ] list
- [x] blocking
- [x] append
- [ ] append

## Differences with webhdfs

Expand Down

0 comments on commit 2167c80

Please sign in to comment.