HADOOP-16591 Fix S3A ITest*MRjob failures.

Contributed by Siddharth Seth.

Change-Id: I7f08201c9f7c0551514049389b5b398a84855191
This commit is contained in:
Siddharth Seth 2019-09-23 14:55:24 +01:00 committed by Steve Loughran
parent aa664d7259
commit 2b5fc95851
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
1 changed files with 3 additions and 2 deletions

View File

@ -196,8 +196,9 @@ public abstract class AbstractYarnClusterITest extends AbstractCommitITest {
protected Job createJob() throws IOException {
Job mrJob = Job.getInstance(getClusterBinding().getConf(),
getMethodName());
Configuration jobConf = getClusterBinding().getConf();
jobConf.addResource(getConfiguration());
Job mrJob = Job.getInstance(jobConf, getMethodName());
patchConfigurationForCommitter(mrJob.getConfiguration());
return mrJob;
}