HADOOP-11520. Clean incomplete multi-part uploads in S3A tests. (Thomas Demoor via stevel)
This commit is contained in:
parent
6f10434a5a
commit
17165d3df9
@ -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.
|
||||
|
@ -45,6 +45,9 @@ public static S3AFileSystem createTestFileSystem(Configuration conf) throws
|
||||
"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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user