[
https://issues.apache.org/jira/browse/HADOOP-15860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16655513#comment-16655513
]
Sean Mackrory commented on HADOOP-15860:
----------------------------------------
Attaching a patch with a test that reproduces the issue. In this case, the
behavior for files and directories is actually identical, so I suspect the
nuances I was seeing was just a case of the FsShell not using the same APIs for
similar operations on each. Note that in this test, the assertion that the file
/ directory exists succeeds, but they are both missing from lists because the
paths are missing periods. So this may just be a bug in listing.
> ABFS: Trailing period in file names gets ignored for some operations.
> ---------------------------------------------------------------------
>
> 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: Sean Mackrory
> Priority: Major
> Attachments: 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: [email protected]
For additional commands, e-mail: [email protected]