hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] hadoop git commit: HADOOP-11520. Clean incomplete multi-part uploads in S3A tests. (Thomas Demoor via stevel)
Date Fri, 06 Feb 2015 21:02:12 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/17165d3d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/17165d3d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/17165d3d

Branch: refs/heads/trunk
Commit: 17165d3df9cc5b4a4f25946ae215f960ab62658e
Parents: 6f10434
Author: Steve Loughran <stevel@apache.org>
Authored: Fri Feb 6 20:59:56 2015 +0000
Committer: Steve Loughran <stevel@apache.org>
Committed: Fri Feb 6 21:01:41 2015 +0000

----------------------------------------------------------------------
 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/17165d3d/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/17165d3d/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