-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
Request Support for viewfs://
#645
Comments
It's possible, but only if someone steps up and implements it in a PR. |
hi @mpenkov , I delved into the code a little bit. I find that open However I am not familiar with smart_open process, and have not succeeded to register |
As stated by @zhezh that hdfs support viewfs we just need to convert viewfs to hdfs uri internally and it will work.
@mpenkov I have created a PR for this feature request can you review it? |
* Added support for viewfs:// URLs. #645 As stated by @zhezh that hdfs support viewfs we just need to convert viewfs to hdfs uri internally and it will work. * passed `split_uri.scheme` instead of hdfs * Update hdfs.py * rewrite tests in pytest style * parameterize tests to cover viewfs schema * disable hdfs tests under windows Getting this error: [WinError 6] The handle is invalid * flake8 * Update CHANGELOG.md Co-authored-by: Michael Penkov <[email protected]>
Problem description
Hi, smart_open currently supports
hdfs://
,viewfs://
is also a hadoop file system which is similar tohdfs://
.I find that
tf.io.gfile.GFile
of tensorflow can support bothhdfs://
andviewfs://
, is it possible that smart_open add support forviewfs://
?Thanks~
The text was updated successfully, but these errors were encountered: