Skip to content

Commit

Permalink
fix(services/hdfs-native): remove unsupported capabilities (#4333)
Browse files Browse the repository at this point in the history
* Remove unsupported capabilities.

* format code
  • Loading branch information
jihuayu authored Mar 8, 2024
1 parent 53aa0b1 commit 517061a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
10 changes: 0 additions & 10 deletions core/src/services/hdfs_native/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,17 +187,7 @@ impl Accessor for HdfsNativeBackend {
.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 517061a

Please sign in to comment.