Community Articles

Find and share helpful community-sourced technical articles.
Labels (1)
Super Mentor

When we access an HDFS directory using Ambari FileView then we see max 5000 sub directories/contents per page via File View. As following:

We see a message "Showing 5000 files or folders of xxxx".


The default "" limit is set to 5000 as following: /ambari/view/commons/hdfs/

This property was added from Ambari 2.6 as part of JIRA: to avoid browser hung state while opening a HDFS folder which has huge number of files.

So if user wants to see more items per page then it can be achieved as following:

1. In order to set/add a new property with the value with a bit large page size please adjust the following property inside "". For example i am setting it to 7000

# grep '' /etc/ambari-server/conf/

2. Then restart the Ambari Server.

# ambari-server restart

3. Once ambari server is restarted then check the File View again to verify if it is showing the mentioned number of per pages or not?

4. After accessing the File View directories we should also see the ambari-server.log the pagination value reflected properly or not?

# grep 'maxFilesPerPageProperty' /var/log/ambari-server/ambari-server.log
INFO [ambari-client-thread-38] FileOperationService:69 - maxFilesPerPageProperty = 7000


0 Kudos
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎08-17-2019 05:49 AM
Updated by:
Top Kudoed Authors