Skip to content

Commit cdbb12d

Browse files
committed
HADOOP-13786 apache#20: IT test of MR job, based on the mock one: sharing core mini cluster setup, test case modified to look for final data.
This works, once I've enabled the -unique-filenames option in the test. I've also turned on the same switch for the protocol tests: That doesn't work for the mapper tests.
1 parent e5d96f5 commit cdbb12d

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/commit/AbstractITCommitMRJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
import static org.apache.hadoop.fs.s3a.commit.staging.StagingCommitterConstants.COMMITTER_UNIQUE_FILENAMES;
5555

5656
/** Test suite.*/
57-
public class AbstractITCommitMRJob extends AbstractS3ATestBase {
57+
public abstract class AbstractITCommitMRJob extends AbstractS3ATestBase {
5858

5959
private static MiniDFSTestCluster hdfs;
6060
private static MiniMRYarnCluster yarn = null;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
package org.apache.hadoop.fs.s3a.commit.staging.integration;
20+
21+
import org.apache.hadoop.fs.s3a.commit.AbstractITCommitMRJob;
22+
23+
public class ITStagingCommitMRJob extends AbstractITCommitMRJob {
24+
}

0 commit comments

Comments
 (0)