Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Hdfs directory stores the maximum number of files exception MaxDirectoryItemsExceededException

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Error message:

Org.apache.hadoop.ipc.RemoteException (org.apache.hadoop.hdfs.protocol.FSLimitException$MaxDirectoryItemsExceededException): The directory item limit of / XXX/XXX/FF is exceeded: limit=1048576 items=1048576

Modify hdfs-site.xml file parameters

Default value: 1048576

Description: define the maximum number of item in a directory. Setting it to 0 will invalidate the check.

Change: in version 2. 7. 3, it must be set to 1: 6400000.

Dfs.namenode.fs-limits.max-directory-items

6400000

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report