[ https://issues.apache.org/jira/browse/HADOOP-10176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860986#comment-13860986 ]
David Dobbins commented on HADOOP-10176: ---------------------------------------- That sounds like a reasonable approach. Is there a precedent in hadoop filesystems for flagging a file as problematic? > swiftfs doesn't correctly handle object names starting with slash > ----------------------------------------------------------------- > > Key: HADOOP-10176 > URL: https://issues.apache.org/jira/browse/HADOOP-10176 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 2.3.0 > Reporter: David Dobbins > Priority: Minor > > When objects are created in swift prefixed by a slash, swiftfs does not > correctly expose the implied directory structure. For example, given a > container with the following objects: > /foo > /foo/1 > /foo/2 > teradata > teradata/part-m > teradata/part-m-00000 > teradata/part-m-00001 > A GET request against that container will return the list above. A 'hadoop > fs -ls swift://container.service/' will return the following: > drwxrwxrwx - 0 2013-12-19 15:49 /foo > drwxrwxrwx - 0 2013-12-19 15:06 /foo/1 > drwxrwxrwx - 0 2013-12-19 15:09 /foo/2 > drwxrwxrwx - 0 2013-12-04 04:11 /teradata > Additionally, if an object named 'foo' is also created, where a GET will > return: > /foo > /foo/1 > /foo/2 > foo > rcfile > teradata > teradata/part-m > teradata/part-m-00000 > teradata/part-m-00001 > then 'hadoop fs -ls swift://container.service/' will return the following: > drwxrwxrwx - 0 2013-12-19 15:49 /foo > drwxrwxrwx - 0 2013-12-19 15:06 /foo/1 > drwxrwxrwx - 0 2013-12-19 15:09 /foo/2 > drwxrwxrwx - 0 2013-12-19 19:24 /foo > drwxrwxrwx - 0 2013-12-04 04:11 /teradata > which appears to have a duplicate object "/foo". -- This message was sent by Atlassian JIRA (v6.1.5#6160)