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.

File count by directories using Navigator UI or API

Highlighted

File count by directories using Navigator UI or API

Explorer

Is it possible to get file count by directories using Navigator? For example, I would like to know which directory contains 100 files or less. Hdfs hdfs -count is not an option.

Thank you

1 REPLY 1

Re: File count by directories using Navigator UI or API

Cloudera Employee

Hello Vitali1,

 

The file count by directory can be accessed in Cloudera Navigator via the HDFS Analytics feature.

 

To access HDFS Analytics, please do the following:

 

1. From the Cloudera Navigator main menu, go to Analytics -> HDFS.

 

2. On the HDFS Analytics page, select the "Size" chart.

 

3. After selecting the Size chart, under the HDFS Files, select the "By Directory" option/radio button.

 

4. The results will sort by "Directory" and "Number of Files" in decending order.