Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Find on HDFS

Find on HDFS

New Contributor

Is org.apache.solr.hadoop.HdfsFindTool or an equivalent distributed with HDP? I'm looking for something approximating *NIX "find" command on HDFS.

As an aside, any chance this could be part of "hdfs dfs" suite of tools in the future?

2 REPLIES 2
Highlighted

Re: Find on HDFS

Guru

Eric the Hadoop shell does have its equivalent of the *NIX* find command. Documentation on how to use that can be found at http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/FileSystemShell.html#find

Its your lucky day =)

Re: Find on HDFS

New Contributor

Thanks, @Jeremy Dyer I wasn't aware of that. It looks like it lacks some of the more robust features of HdfsFindTool, like searching by group, etc. "dfs -find" seems to only match by name.

I'm one step closer now, though :)

If only I'd thought to bring this up to @Chris Nauroth at Summit!

Don't have an account?
Coming from Hortonworks? Activate your account here