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

Add support for hdfs file system shell commands #171

Open
santosh-d3vpl3x opened this issue Dec 12, 2024 · 3 comments
Open

Add support for hdfs file system shell commands #171

santosh-d3vpl3x opened this issue Dec 12, 2024 · 3 comments
Milestone

Comments

@santosh-d3vpl3x
Copy link

It would be great to support shell commands from https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/FileSystemShell.html

I believe this implementation should be straightforward for python.

Found an example where this is done for golang https://github.com/colinmarc/hdfs

@Kimahriman
Copy link
Owner

Yeah I've thought about this, should be fairly straightforward to do in Python. One thing that would need to be decided is whether to try to make it similar to the Hadoop CLI, or make it more based on the standard Linux CLI. Also, the main thing missing from this library currently is any kind of glob handling that a lot of the CLI supports.

@santosh-d3vpl3x
Copy link
Author

santosh-d3vpl3x commented Dec 12, 2024

One thing that would need to be decided is whether to try to make it similar to the Hadoop CLI, or make it more based on the standard Linux CLI.

It is probably better to keep these two(hadoop CLI and hdfs-native) as close to each other as possible unless the cost of keeping them close is too high. I see this CLI more as a replacement of Hadoop CLI in containers, especially in jupyter environment. That being said, I am not opposed to the idea of alternatives either :)

@Kimahriman Kimahriman added this to the CLI Support milestone Dec 16, 2024
@Kimahriman
Copy link
Owner

Created a milestone for this https://github.com/Kimahriman/hdfs-native/milestone/2 and will make individual issues to work of each command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants