You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "JiangHua Zhu (Jira)" <ji...@apache.org> on 2020/11/17 07:23:00 UTC

[jira] [Commented] (HDFS-13576) RBF: Add destination path length validation for add/update mount entry

    [ https://issues.apache.org/jira/browse/HDFS-13576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233310#comment-17233310 ] 

JiangHua Zhu commented on HDFS-13576:
-------------------------------------

This abnormality is normal. Related to the parameter (dfs.namenode.fs-limits.max-component-length), the default value of this parameter is 255. It represents the length of the name of the INode. Once it exceeds this value, the above exception will be displayed.

> RBF: Add destination path length validation for add/update mount entry
> ----------------------------------------------------------------------
>
>                 Key: HDFS-13576
>                 URL: https://issues.apache.org/jira/browse/HDFS-13576
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Dibyendu Karmakar
>            Assignee: Ayush Saxena
>            Priority: Minor
>
> Currently there is no validation to check destination path length while adding or updating mount entry. But while trying to create directory using this mount entry 
> {noformat}
> RemoteException(org.apache.hadoop.hdfs.protocol.FSLimitException$PathComponentTooLongException){noformat}
> is thrown with exception message as 
> {noformat}
> "maximum path component name limit of ....<long path>... directory / is exceeded: limit=255 length=1817"{noformat}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org