-
Notifications
You must be signed in to change notification settings - Fork 577
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: Add webhdfs support #7844
Conversation
Signed-off-by: Xuanwo <[email protected]>
Thanks for your contribution! 🥰 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for your changes!
I'll run some tests for a while and merge this PR later.
To run this test on existing hdfs deployment, please make sure |
I can not start RisingWave via
|
Doesn't seem to be an error from OpenDAL or hdfs. |
Can I use |
1 similar comment
Can I use |
It should work. OpenDAL test webhdfs in the same way: https://github.com/beyondstorage/setup-hdfs/blob/master/src/setup-hdfs.ts#L31-L48 |
Good news: successfully start RisingWave via
|
Oh, it's an error happened while buidling http request. What's the config are you using? |
cc @wcy-fdu, Hi opendal v0.27.2 has been released, please try again~ |
Thanks, let me try it. |
Sorry for the wait, just found that the seem error occurs again when after updating to |
I still can't write successfully with webhdfs, the hdfs-site.xml:
error log:
can you please help me to have a look? cc @Xuanwo |
Looks like the request from OpenDAL is refused. Will 'localhost' open to HTTP requests from foreign machines? |
"Connection refused" indicates that OpenDAL is unable to establish a connection with this endpoint. If you are running HDFS in Docker or Docker Compose, please ensure that the "dfs.namenode.http-address" is set correctly to Docker's network bridge. |
I'm running webhdfs in aws ec2, so |
The core question is are you running hdfs and risingwave on the same machine? If not, you need to change it to ec2's public ip. |
It is the same machine. |
For current information, I think it's not related to OpenDAL, please make sure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally I successfully ran RisingWave on webhdfs
, thanks for your contribution!
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Head branch was pushed to by a user without write access
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo [email protected]
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR add webdhfs support.
Also, this PR bump opendal to 0.27 to address the duplicated deps
backon
.Checklist
./risedev check
(or alias,./risedev c
)Documentation
Click here for Documentation
Types of user-facing changes
Release note