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

Glob support? #5

Open
minaguib opened this issue Jan 6, 2014 · 1 comment
Open

Glob support? #5

minaguib opened this issue Jan 6, 2014 · 1 comment

Comments

@minaguib
Copy link

minaguib commented Jan 6, 2014

Hi

Currently issuing something like client.get("/foo/*/bar") always results in {"RemoteException":{"exception":"FileNotFoundException"...}}

Compared to the CLI "hdfs dfs -ls '/foo/*/bar'" which lists the matches as expected.

Do you know whether the webhdfs API has any support for globbing or it's done purely client-side ? If so, any chance it could be added to ruby-webhdfs ?

@tagomoris
Copy link
Collaborator

As far as I know, file globs are not supported on webhdfs APIs.And client side globing needs high runtime cost and latency.

From the same viewpoint of hdfs dfs commands, we may be able to support globs on WebHDFS::FileUtils methods.(Patches welcome!)

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