Writing a script in Linux

Looking to create an automated monitoring process that will send an email to us to identify small files. The process should have some configurable thresholds and report directories with number of small files above that threshold.

So I think it would be something like that:

Identify directories on hdfs with abnormal number of small files (using configurable threshold)

Check exception list (directories that we can mark as “approved) and either ignore it if it is on the exception list or add to report

SAMPLE ASSIGNMENT
Powered by WordPress