MAPREDUCE-4212. TestJobClientGetJob sometimes fails (Daryn Sharp via tgraves)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1332665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d37ec9d09e
commit
2755a2e283
@ -430,6 +430,9 @@ Release 0.23.3 - UNRELEASED
|
|||||||
MAPREDUCE-4206. Sorting by Last Health-Update on the RM nodes page sorts
|
MAPREDUCE-4206. Sorting by Last Health-Update on the RM nodes page sorts
|
||||||
does not work correctly (Jonathon Eagles via tgraves)
|
does not work correctly (Jonathon Eagles via tgraves)
|
||||||
|
|
||||||
|
MAPREDUCE-4212. TestJobClientGetJob sometimes fails
|
||||||
|
(Daryn Sharp via tgraves)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -49,8 +49,9 @@ public void testGetRunningJobFromJobClient() throws Exception {
|
|||||||
JobConf conf = new JobConf();
|
JobConf conf = new JobConf();
|
||||||
conf.set("mapreduce.framework.name", "local");
|
conf.set("mapreduce.framework.name", "local");
|
||||||
FileInputFormat.addInputPath(conf, createTempFile("in", "hello"));
|
FileInputFormat.addInputPath(conf, createTempFile("in", "hello"));
|
||||||
FileOutputFormat.setOutputPath(conf,
|
Path outputDir = new Path(TEST_ROOT_DIR, getClass().getSimpleName());
|
||||||
new Path(TEST_ROOT_DIR, getClass().getSimpleName()));
|
outputDir.getFileSystem(conf).delete(outputDir, true);
|
||||||
|
FileOutputFormat.setOutputPath(conf, outputDir);
|
||||||
JobClient jc = new JobClient(conf);
|
JobClient jc = new JobClient(conf);
|
||||||
RunningJob runningJob = jc.submitJob(conf);
|
RunningJob runningJob = jc.submitJob(conf);
|
||||||
assertNotNull("Running job", runningJob);
|
assertNotNull("Running job", runningJob);
|
||||||
|
Loading…
Reference in New Issue
Block a user