Commit Graph

12 Commits

Author SHA1 Message Date
Ghanshyam Mann bbe243e2bf Retire Sahara: remove repo content
Sahara project is retiring
- https://review.opendev.org/c/openstack/governance/+/919374

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/919376
Change-Id: I4ff53b361a24b624048ba013861c7fcf51997010
2024-05-10 17:31:33 -07:00
Ernst Sjöstrand 8c288a4ae1 hadoop-swiftfs: SimpleDateFormat is locale specific
Parse Last-Modified with US locale.
I got an Unparseable date exception when running under Swedish locale.

Change-Id: I90fafb9b042f5f0df1eeb7f8646846b378b47eca
2016-06-02 10:17:34 +02:00
Kazuki OIKAWA e464caa3ef Hiding a pseudo-directory that contains DLO segments
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
2015-03-26 19:54:51 +09:00
Jenkins 4e8e7e5cd9 Merge "Fix segment object naming that uploaded at qualified URL" 2015-03-16 12:54:35 +00:00
Kazuki OIKAWA c88a30012d Fix segment object naming that uploaded at qualified URL
Change-Id: Ifdac5efe2c79a4ffed96f6fd66e58d2a263925fc
Closes-Bug: 1428939
2015-03-11 20:22:20 +09:00
Kazuki OIKAWA 899c3a3aee Fix pseudo-directory renaming operation
Change-Id: I977603b60d9ae4949b8dbced5df8dd5d20843412
Closes-Bug: 1429055
2015-03-06 19:56:17 +09:00
Kazuki OIKAWA 0f5416f7cc Fix copy operation for large object
* changes to copy the manifest object and each segment object.
  (before this commit, copying DLO as one object)

Change-Id: I16600157ce8a100ac6b82500e5afba23a3ab8e7d
Closes-Bug: 1428941
2015-03-06 16:01:01 +09:00
Kazuki OIKAWA 49adcd9cfd Changes directory representation
Current directory representation is zero-byte file but swift's pseudo-directory
is trailing-slash file. This patch changes direcotry representation and improves
compatibility with Swift and Horizon.

Change-Id: I6d6aeee958ff877b6f8e95f3108c8059f5d3b5c7
Closes-Bug: 1390414
2015-01-27 19:25:31 +09:00
Shane Wang 29cec23157 Fix misspellings in savanna-extra
Fix misspellings detected by:
* pip install misspellings
* git ls-files | grep -v locale | misspellings -f -

Change-Id: I2aca7882ad4a4303286abd07e2f94b3b0275e942
Closes-Bug: #1257295
2014-02-07 16:00:43 +08:00
Andrew Lazarev c69e4d8b9f [hadoop-openstack] Added debug log on getObject method
Change-Id: Id62eb092788339ee1ce7e0c600d8fd77de48ee6d
2014-01-16 09:06:37 -08:00
Andrew Lazarev ad6bd75475 Implemented data locality for Swift
Change-Id: I13b15b9fabc6007d4218dd52cc123fa10c46dd45
2013-10-04 12:49:14 +04:00
Nadya Privalova 24e66b7dda Sources for hadoop-patch
Sources were obtained from https://issues.apache.org/jira/secure/attachment/12583703/HADOOP-8545-033.patch
by running "patch" command. All the files related to Hadoop-common were skiped during patching.

Changes were made after patching:
* pom.xml was updated to use hadoop-core 1.1.2 dependency
* removed dependency on 2.x hadoop in code (@Override and isDirectory() -> isDir())
* removed Hadoop 2.X tests

There are no unit-tests, only integration.

Change-Id: I8d7c2f544d14f79597fcdefe27ecae0d43b6df9e
2013-08-23 16:32:14 +04:00