Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-07-2016 11:07 AM
Created 03-07-2016 11:17 AM
Take a look on dfs.namenode.fs-limits.max-directory-items
| fs.namenode.fs-limits.max-directory-items | 0 | Defines the maximum number of items that a directory may contain. A value of 0 will disable the check. |
Take a look on this to cleanup /tmp
Created 03-07-2016 11:17 AM
Take a look on dfs.namenode.fs-limits.max-directory-items
| fs.namenode.fs-limits.max-directory-items | 0 | Defines the maximum number of items that a directory may contain. A value of 0 will disable the check. |
Take a look on this to cleanup /tmp
Created 10-11-2018 07:48 AM
From hadoop 2.7.0, can't set value 0 to disable the check.
| dfs.namenode.fs-limits.max-directory-items | 1048576 | Defines the maximum number of items that a directory may contain. Cannot set the property to a value less than 1 or more than 6400000. |
http://hadoop.apache.org/docs/r2.7.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml
It is generally recommended that users do not tune these values except in very unusual circumstances.