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 of WebHDFS #23

Closed
ziky90 opened this issue Jul 13, 2015 · 2 comments
Closed

Support of WebHDFS #23

ziky90 opened this issue Jul 13, 2015 · 2 comments

Comments

@ziky90
Copy link
Contributor

ziky90 commented Jul 13, 2015

My idea is to add possibility to read from WebHDFS.
It would probably need to be implemented as some wrapper on top of WebHDFS API.
https://hadoop.apache.org/docs/r1.0.4/webhdfs.html

Based on the observations from API:

  • Streaming seems to be possible
  • It will involve probably requests library dependency (is this possible?)
  • It might involve necessity of creating some config file with details about login to WebHDFS

Would this addition be appreciated in smart_open? I can try to work on PR, hopefully in the near future.

@piskvorky
Copy link
Owner

Yes, we accept any new functionality that fits the mission of smart_open = Pythonic API read/write access to large (streamed) data files, no matter the protocol.

requests is a stable library, so depending on it is no problem. I think boto depends on it, so it is a dependency already, anyway.

Authentication / login configs: fine as long as it doesn't affect the other (existing) code paths and is conceptually sane (maintainable).

@ziky90
Copy link
Contributor Author

ziky90 commented Sep 16, 2015

Implemented in #29 #31

@ziky90 ziky90 closed this as completed Sep 16, 2015
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