e464caa3ef
In SwiftNativeFileSystem implementation, writes DLO manifest and segments to same location. largefile <- manifest file largefile/000001 <- 1st segment largefile/000002 <- 2nd segment And querying Swift to list objects (delimiter=/), returns two object that is same name (sorted by name). largefile <- manifest file largefile/ <- pseudo-directory listStatus method returns two objects at above. But FileSystem spec cannot exists file and directory in same name. This patch modified listStatus's behavior to fix that problems 1. Ignores pseudo-directory entry If same named objects found 2. When called listStatus with manifest file path, returns a manifest file instead of the segments. (currently, returns list of segments) Change-Id: Ic8835ba170c52ebac405315b44d59b4935909d51 Closes-Bug: 1436278 |
||
---|---|---|
.. | ||
java/org/apache/hadoop/fs/swift | ||
resources |