Support Questions

Find answers, ask questions, and share your expertise

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

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.