Skip to content

Commit

Permalink
Bump to version 0.26.2 (#1296)
Browse files Browse the repository at this point in the history
* Bump to version 0.26.2

Signed-off-by: Xuanwo <[email protected]>

* Fix docs

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Feb 7, 2023
1 parent fb1189e commit 5d5c651
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 11 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [v0.26.2] - 2023-02-07

### Added

- feat: Add ChaosLayer to inject errors into underlying services (#1287)
- feat: Implement retry reader (#1291)
- feat: use std::path::Path for fs backend (#1100)
- feat: Implement services webhdfs (#1263)

### Changed

- refactor: Split CompleteReaderLayer from TypeEraserLayer (#1290)
- refactor(services/fs): Remove not needed generic (#1292)

### Docs

- docs: fix typo (#1285)
- docs: Polish docs for better reading (#1288)

### Fixed

- fix: FsBuilder can't be used with empty root anymore (#1293)
- fix: Fix retry happened in seek's read ahead logic (#1294)

## [v0.26.1] - 2023-02-05

### Changed
Expand Down Expand Up @@ -1287,6 +1311,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/).

Hello, OpenDAL!

[v0.26.2]: https://github.com/datafuselabs/opendal/compare/v0.26.1...v0.26.2
[v0.26.1]: https://github.com/datafuselabs/opendal/compare/v0.26.0...v0.26.1
[v0.26.0]: https://github.com/datafuselabs/opendal/compare/v0.25.2...v0.26.0
[v0.25.2]: https://github.com/datafuselabs/opendal/compare/v0.25.1...v0.25.2
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["storage", "fs", "s3", "azblob", "gcs"]
license = "Apache-2.0"
name = "opendal"
repository = "https://github.com/datafuselabs/opendal"
version = "0.26.1"
version = "0.26.2"
# MSRV of OpenDAL. Please update this field while bump.
rust-version = "1.60"

Expand Down
2 changes: 1 addition & 1 deletion binaries/oay/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion binaries/oli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/scheme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub enum Scheme {
S3,
/// [webdav][crate::services::Webdav]: WebDAV support.
Webdav,
/// [webhdfs][crate::services::WebHdfs]: WebHDFS RESTful API Services
/// [webhdfs][crate::services::Webhdfs]: WebHDFS RESTful API Services
Webhdfs,
/// Custom that allow users to implement services outside of OpenDAL.
///
Expand Down
4 changes: 4 additions & 0 deletions src/services/hdfs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ use crate::*;
/// - [ ] ~~multipart~~
/// - [x] blocking
///
/// # Differences with webhdfs
///
/// [Webhdfs][crate::services::Webhdfs] is powered by hdfs's RESTful HTTP API.
///
/// # Features
///
/// HDFS support needs to enable feature `services-hdfs`.
Expand Down
29 changes: 22 additions & 7 deletions src/services/webhdfs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,27 @@ use crate::*;

const WEBHDFS_DEFAULT_ENDPOINT: &str = "http://127.0.0.1:9870";

/// WebHDFS's RESTFul API support
/// [WebHDFS](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/WebHDFS.html)'s REST API support.
///
/// There two implementaions of WebHDFS REST API:
///
/// - Native via HDFS Namenode and Datanode, data are transferred between nodes directly.
/// - [HttpFS](https://hadoop.apache.org/docs/stable/hadoop-hdfs-httpfs/index.html) is a gateway before hdfs nodes, data are proxied.
///
/// # Capabilities
///
/// This service can be used to:
///
/// - [x] read
/// - [x] write
/// - [x] list
/// - [ ] ~~presign~~
/// - [ ] ~~multipart~~
/// - [ ] blocking
///
/// # Differences with hdfs
///
/// [Hdfs][crate::services::Hdfs] is powered by HDFS's native java client. Users need to setup the hdfs services correctly. But webhdfs can access from HTTP API and no extra setup needed.
///
/// # Configurations
///
Expand All @@ -48,13 +68,8 @@ const WEBHDFS_DEFAULT_ENDPOINT: &str = "http://127.0.0.1:9870";
///
/// Refer to [`Builder`]'s public API docs for more information
///
/// # Environment
///
/// - `OPENDAL_WEBHDFS_ROOT`
/// - `OPENDAL_WEBHDFS_ENDPOINT`
/// - `OPENDAL_WEBHDFS_DELEGATION`
///
/// # Examples
///
/// ## Via Builder
/// ```no_run
/// use std::sync::Arc;
Expand Down

2 comments on commit 5d5c651

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on 5d5c651 Feb 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-3jvyk9qy6-databend.vercel.app
https://opendal-git-refstagsv0262.vercel.app

Built with commit 5d5c651.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 5d5c651 Previous: fb1189e Ratio
service_fs_read_parallel/4x4.00 MiB 7026060 ns/iter (± 609592) 3318546 ns/iter (± 206625) 2.12
service_memory_read_full/16.0 MiB 4441592 ns/iter (± 88206) 1909415 ns/iter (± 47342) 2.33

This comment was automatically generated by workflow using github-action-benchmark.

CC: @Xuanwo

Please sign in to comment.