Skip to content
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

Support hdfs path as 'hdfs://nameservice' #3576

Closed
kyungwan-nam opened this issue May 10, 2023 · 1 comment
Closed

Support hdfs path as 'hdfs://nameservice' #3576

kyungwan-nam opened this issue May 10, 2023 · 1 comment
Assignees
Labels
kind/feature New feature or request

Comments

@kyungwan-nam
Copy link
Contributor

What would you like to be added:

we have to specify the bucket as namenode:rpcPort like below.

juicefs format \
    --storage hdfs \
    --bucket nn1.example.com:8020,nn2.example.com:8020 \
    --access-key hdfs \
    ... \
    myjfs

it looks good if we can specify the bucket as a URI format like hdfs://nameservice

juicefs format \
    --storage hdfs \
    --bucket hdfs://example \
    --access-key hdfs \
    ... \
    myjfs

nameservice can be converted as a comma-separated list of namenode:rpcPort by referencing hadoop conf

Why is this needed:

Normally, a hdfs path is represented as a URI format like hdfs://nameservice instead of namenode:rpcPort.
It will be intuitive and easy for users

@zhijian-pro
Copy link
Contributor

done by #3577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants