HADOOP-16591 Fix S3A ITest*MRjob failures.
Contributed by Siddharth Seth. Change-Id: I7f08201c9f7c0551514049389b5b398a84855191
This commit is contained in:
parent
aa664d7259
commit
2b5fc95851
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue