[ https://issues.apache.org/jira/browse/HADOOP-15860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730487#comment-16730487 ]
Shweta edited comment on HADOOP-15860 at 12/28/18 10:44 PM: ------------------------------------------------------------ Thanks for providing the detailed explaination [~mackrorysd]. I have removed the path != null and added the while loop check to be !path.isRoot() and also a condition to test the length of the path string. Posted the updated patch, please review. was (Author: shwetayakkali): Thanks for providing the detailed explaination [~mackrorysd]. I have removed the path != null and added the while loop check to be !path.isRoot() and also a condition to test the length of the path string. Posted the updated patch. please review. > ABFS: Throw IllegalArgumentException when Directory/File name ends with a > period(.) > ----------------------------------------------------------------------------------- > > Key: HADOOP-15860 > URL: https://issues.apache.org/jira/browse/HADOOP-15860 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/adl > Affects Versions: 3.2.0 > Reporter: Sean Mackrory > Assignee: Shweta > Priority: Major > Attachments: HADOOP-15860.001.patch, HADOOP-15860.002.patch, > HADOOP-15860.003.patch, HADOOP-15860.004.patch, HADOOP-15860.005.patch, > trailing-periods.patch > > > If you create a directory with a trailing period (e.g. '/test.') the period > is silently dropped, and will be listed as simply '/test'. '/test.test' > appears to work just fine. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org