You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "shbhmrzd (via GitHub)" <gi...@apache.org> on 2023/12/07 09:59:02 UTC
[I] HDFS: Support renaming [incubator-opendal]
shbhmrzd opened a new issue, #3723:
URL: https://github.com/apache/incubator-opendal/issues/3723
Tried renaming a file using rename API but it failed.
Need support for renaming files on hdfs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] HDFS: Support renaming [incubator-opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #3723: HDFS: Support renaming
URL: https://github.com/apache/incubator-opendal/issues/3723
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] HDFS: Support renaming [incubator-opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #3723:
URL: https://github.com/apache/incubator-opendal/issues/3723#issuecomment-1845040245
hdfs services supports rename. Please report your OpenDAL version and error messages for debugging.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] HDFS: Support renaming [incubator-opendal]
Posted by "shbhmrzd (via GitHub)" <gi...@apache.org>.
shbhmrzd commented on issue #3723:
URL: https://github.com/apache/incubator-opendal/issues/3723#issuecomment-1845044692
opendal = { version = "0.41.0", features = ["services-hdfs"] }
rust = 1.74.0
Backtrace
```
---- storage_io::io_operator::io_operator_test::test_hdfs_io_operations stdout ----
thread 'storage_io::io_operator::io_operator_test::test_hdfs_io_operations' panicked at tlb2-stream/src/storage_io/io_operator.rs:318:14:
called `Result::unwrap()` on an `Err` value: OpenDALError(Unsupported (permanent) at rename => service hdfs doesn't support operation rename
Backtrace:
0: opendal::types::error::Error::new
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/types/error.rs:338:24
1: opendal::layers::complete::CompleteReaderAccessor<A>::new_unsupported_error
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/layers/complete.rs:145:9
2: <opendal::layers::complete::CompleteReaderAccessor<A> as opendal::raw::layer::LayeredAccessor>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/layers/complete.rs:448:24
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
4: opendal::raw::layer::<impl opendal::raw::accessor::Accessor for L>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/raw/layer.rs:235:45
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
6: <opendal::layers::logging::LoggingAccessor<A> as opendal::raw::layer::LayeredAccessor>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/layers/logging.rs:423:14
7: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
8: opendal::raw::layer::<impl opendal::raw::accessor::Accessor for L>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/raw/layer.rs:235:45
9: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
10: opendal::raw::layer::LayeredAccessor::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/raw/layer.rs:157:45
11: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
12: opendal::raw::layer::<impl opendal::raw::accessor::Accessor for L>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/raw/layer.rs:235:45
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
14: <alloc::sync::Arc<T> as opendal::raw::accessor::Accessor>::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/raw/accessor.rs:418:46
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/future/future.rs:125:9
16: opendal::types::operator::operator::Operator::rename::{{closure}}
at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opendal-0.41.0/src/types/operator/operator.rs:606:58
~
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] HDFS: Support renaming [incubator-opendal]
Posted by "shbhmrzd (via GitHub)" <gi...@apache.org>.
shbhmrzd commented on issue #3723:
URL: https://github.com/apache/incubator-opendal/issues/3723#issuecomment-1845159526
> Understood. PR https://github.com/apache/incubator-opendal/pull/3592 has been included into v0.43.0, which is currently being released and will be completed within the next two days.
>
>
>
> If you need it urgently, you can set your dependencies to `opendal = { git = "https://github.com/apache/incubator-opendal", rev = "v0.43.0-rc.3"}`.
Thank you :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] HDFS: Support renaming [incubator-opendal]
Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #3723:
URL: https://github.com/apache/incubator-opendal/issues/3723#issuecomment-1845050846
Understood. PR https://github.com/apache/incubator-opendal/pull/3592 has been incorporated into v0.43.0, which is currently being released and will be completed within the next two days.
If you need it urgently, you can set your dependencies to `opendal = { git = "https://github.com/apache/incubator-opendal", rev = "v0.43.0-rc.3"}`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org