File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/staging/integration Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 35
35
import org .apache .hadoop .mapreduce .JobStatus ;
36
36
import org .apache .hadoop .mapreduce .TaskAttemptContext ;
37
37
38
+ import static org .apache .hadoop .fs .s3a .S3ATestUtils .skipIfAnalyticsAcceleratorEnabled ;
38
39
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .CONFLICT_MODE_APPEND ;
39
40
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .FS_S3A_COMMITTER_STAGING_CONFLICT_MODE ;
40
41
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .S3A_COMMITTER_EXPERIMENTAL_COLLECT_IOSTATISTICS ;
41
42
42
43
/** ITest of the low level protocol methods. */
43
44
public class ITestDirectoryCommitProtocol extends ITestStagingCommitProtocol {
44
45
46
+
47
+ @ Override
48
+ public void setup () throws Exception {
49
+ super .setup ();
50
+ skipIfAnalyticsAcceleratorEnabled (getConfiguration ());
51
+ }
52
+
45
53
@ Override
46
54
protected String suitename () {
47
55
return "ITestDirectoryCommitProtocol" ;
Original file line number Diff line number Diff line change 41
41
import org .apache .hadoop .mapreduce .JobStatus ;
42
42
import org .apache .hadoop .mapreduce .TaskAttemptContext ;
43
43
44
+ import static org .apache .hadoop .fs .s3a .S3ATestUtils .skipIfAnalyticsAcceleratorEnabled ;
44
45
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .*;
45
46
46
47
/** Test the staging committer's handling of the base protocol operations. */
@@ -65,6 +66,8 @@ protected Configuration createConfiguration() {
65
66
@ Override
66
67
public void setup () throws Exception {
67
68
super .setup ();
69
+ skipIfAnalyticsAcceleratorEnabled (getConfiguration ());
70
+
68
71
69
72
// identify working dir for staging and delete
70
73
Configuration conf = getConfiguration ();
Original file line number Diff line number Diff line change 32
32
import org .apache .hadoop .mapreduce .task .TaskAttemptContextImpl ;
33
33
34
34
import static org .apache .hadoop .fs .s3a .Constants .MULTIPART_UPLOADS_ENABLED ;
35
- import static org .apache .hadoop .fs .s3a .S3ATestUtils .disableFilesystemCaching ;
36
- import static org .apache .hadoop .fs .s3a .S3ATestUtils .getTestBucketName ;
37
- import static org .apache .hadoop .fs .s3a .S3ATestUtils .removeBucketOverrides ;
35
+ import static org .apache .hadoop .fs .s3a .S3ATestUtils .*;
38
36
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .FS_S3A_COMMITTER_NAME ;
39
37
import static org .apache .hadoop .fs .s3a .commit .CommitConstants .S3A_COMMITTER_FACTORY_KEY ;
40
38
import static org .apache .hadoop .test .LambdaTestUtils .intercept ;
45
43
*/
46
44
public class ITestStagingCommitProtocolFailure extends AbstractS3ATestBase {
47
45
46
+
47
+ @ Override
48
+ public void setup () throws Exception {
49
+ super .setup ();
50
+ skipIfAnalyticsAcceleratorEnabled (getConfiguration ());
51
+ }
52
+
48
53
@ Override
49
54
protected Configuration createConfiguration () {
50
55
Configuration conf = super .createConfiguration ();
You can’t perform that action at this time.
0 commit comments