-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Implement services webhdfs #1263
Conversation
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
1. some documentation works 2. fix listing 3. try trouble shoot listing and writing, unsuccessful Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
I am curious whether |
The service is purely rust implemented and communicates with Hadoop via RESTful APIs. https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/WebHDFS.html |
1. add webhdfs test in ci, running simutaniously with hdfs test 2. add CSRF feature for webhdfs 3. finish documentation for webhdfs Signed-off-by: 蔡略 <[email protected]>
Most work of this service is complete, waiting for #1260 and beyondstorage/setup-hdfs#138 |
1. default webhdfs port is 9870, controled by dfs.namenode.http-address Signed-off-by: 蔡略 <[email protected]>
1. set endpoint, hope this works Signed-off-by: 蔡略 <[email protected]>
#1260 is about to merge, welcome to play with our new framework! |
Hi, any updates on this PR? |
Just resolved conflicts with the main branch. |
1. don't run check root when building Backend, run it only when Backend::stat instead 2. move messages structs to `message.rs` 3. apply some advices in review Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
[2023-02-06T11:39:09Z ERROR opendal::services] service=webhdfs operation=write path=043a4379-8ae9-4d85-b26f-ca47341ddd44 size=3135326 -> failed: Unexpected (permanent) at write => building request
Context:
service: webhdfs
path: 043a4379-8ae9-4d85-b26f-ca47341ddd44
Source: invalid format
thread 'services_webhdfs_write::test_fuzz_offset_reader' panicked at 'write must succeed: Unexpected (permanent) at write => building request
Context:
service: webhdfs
path: 043a4379-8ae9-4d85-b26f-ca47341ddd44 hdfs action is not stable so we will able the test case pass. Please check them by hand. |
It's strange that environment variable |
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
1. fix incorrect documentation in webhdfs 2. remove unnecessary language environments in webhdfs CI Signed-off-by: 蔡略 <[email protected]>
1. it does not work at all, implement kerberos later Signed-off-by: 蔡略 <[email protected]>
Signed-off-by: 蔡略 <[email protected]>
This PR is good enough to get merged! I will merge it after ALL CI passed. |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
This PR implements WebHDFS service support for OpenDAL