Details
Description
Currently configuration "dfs.namenode.fs-limits.max-component-length" is set to 0. With this HDFS file names have no length limit. However, we see more users run into issues where they copy files from HDFS to another file system and the copy fails due to the file name length being too long.
I propose changing the default configuration "dfs.namenode.fs-limits.max-component-length" to a reasonable value. This will be an incompatible change. However, user who need long file names can override this configuration to turn off length limit.
What do folks think?
Attachments
Attachments
Issue Links
- is related to
-
HDFS-6102 Lower the default maximum items per directory to fix PB fsimage loading
- Closed
-
HDFS-6099 HDFS file system limits not enforced on renames.
- Closed
-
HDFS-240 Should HDFS restrict the names used for files?
- Open
- relates to
-
HDFS-1751 Intrinsic limits for HDFS files, directories
- Closed