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.

hdfs file "start time" in org.apache.solr.hadoop.HdfsFindTool

Highlighted

hdfs file "start time" in org.apache.solr.hadoop.HdfsFindTool

Explorer

on this guide: https://www.cloudera.com/documentation/enterprise/5-3-x/topics/search_hdfsfindtool.html

 

there is a reference in the -mtime option:

Evaluates as true if the file modification time subtracted


    from the start time is n days

 

what does the "start time"  in here reference?

it does not seem to work like normal bash find.

 

i want functionality like:

if mtime is more than 30 days ago (from current time), print the folder/file.

 

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