Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎04-04-2017

File count by directories using Navigator UI or API

[ Edited ]

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

Cloudera Employee
Posts: 26
Registered: ‎07-11-2016

Re: File count by directories using Navigator UI or API

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.

Announcements
New solutions