[
https://issues.apache.org/jira/browse/HADOOP-10948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-10948:
------------------------------------
Status: Patch Available (was: Open)
resubmitting.
What are we do do here? The 0-byte pseudo dir went copying s3n; this swift
pseudo-dir thing seems a swift-specific feature. It's obviously better, but has
implications for backwards compatibility.
> SwiftNativeFileSystem's directory is incompatible with Swift and Horizon
> ------------------------------------------------------------------------
>
> Key: HADOOP-10948
> URL: https://issues.apache.org/jira/browse/HADOOP-10948
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/swift
> Affects Versions: 3.0.0
> Reporter: Kazuki OIKAWA
> Assignee: Kazuki OIKAWA
> Attachments: HADOOP-10948-2.patch, HADOOP-10948.patch
>
>
> SwiftNativeFileSystem's directory representation is zero-byte file.
> But in Swift / Horizon, directory representation is a trailing-slash.
> This incompatibility has the following issues.
> * SwiftNativeFileSystem can't see pseudo-directory made by OpenStack Horizon
> * Swift/Horizon can't see pseudo-directory made by SwiftNativeFileSystem. But
> Swift/Horizon see a zero-byte file instead of that pseudo-directory.
> * SwiftNativeFileSystem can't see a file if there is no intermediate
> pseudo-directory object.
> * SwiftNativeFileSystem makes two objects when making a single directory
> (e.g. "hadoop fs -mkdir swift://test.test/dir/" => "dir" and "dir/" created)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)