hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject [48/50] [abbrv] hadoop git commit: HADOOP-11520. Clean incomplete multi-part uploads in S3A tests. (Thomas Demoor via stevel)
Date Fri, 06 Feb 2015 21:47:20 GMT
HADOOP-11520. Clean incomplete multi-part uploads in S3A tests.  (Thomas Demoor via stevel)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/425c4b64
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/425c4b64
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/425c4b64

Branch: refs/heads/HDFS-EC
Commit: 425c4b64fc9d279d673ffd14d6b49bbb92e8eea2
Parents: 6d4e9e3
Author: Steve Loughran <stevel@apache.org>
Authored: Fri Feb 6 20:59:56 2015 +0000
Committer: Zhe Zhang <zhz@apache.org>
Committed: Fri Feb 6 13:45:53 2015 -0800

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                   | 3 +++
 .../src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java      | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/425c4b64/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 884ba66..2dad2b5 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -559,6 +559,9 @@ Release 2.7.0 - UNRELEASED
     HADOOP-11543. Improve help message for hadoop/yarn command.
     (Brahma Reddy Battula via ozawa)
 
+    HADOOP-11520. Clean incomplete multi-part uploads in S3A tests.
+    (Thomas Demoor via stevel)
+
   OPTIMIZATIONS
 
     HADOOP-11323. WritableComparator#compare keeps reference to byte array.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/425c4b64/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
----------------------------------------------------------------------
diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
index 514647c..d9726db 100644
--- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
+++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/S3ATestUtils.java
@@ -45,6 +45,9 @@ public class S3ATestUtils {
           "No test filesystem in " + TestS3AFileSystemContract.TEST_FS_S3A_NAME);
     }
     S3AFileSystem fs1 = new S3AFileSystem();
+    //enable purging in tests
+    conf.setBoolean(Constants.PURGE_EXISTING_MULTIPART, true);
+    conf.setInt(Constants.PURGE_EXISTING_MULTIPART_AGE, 0);
     fs1.initialize(testURI, conf);
     return fs1;
   }


Mime
View raw message