MAPREDUCE-5136. TestJobImpl->testJobNoTasks fails with IBM JAVA. Contributed by Amir Sanjar
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1467061 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d04e65b797
commit
8e86ffd91e
@ -280,6 +280,9 @@ Release 2.0.5-beta - UNRELEASED
|
||||
MAPREDUCE-5137. AM web UI: clicking on Map Task results in 500 error
|
||||
(Thomas Graves via jlowe)
|
||||
|
||||
MAPREDUCE-5136. TestJobImpl->testJobNoTasks fails with IBM JAVA (Amir
|
||||
Sanjar via jlowe)
|
||||
|
||||
Release 2.0.4-alpha - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.EnumSet;
|
||||
import java.util.concurrent.BrokenBarrierException;
|
||||
@ -744,7 +745,12 @@ public void handle(JobHistoryEvent jhEvent) {
|
||||
setAssertValue(false);
|
||||
return;
|
||||
}
|
||||
if (!workflowAdjacencies.equals(jsEvent.getWorkflowAdjacencies())) {
|
||||
|
||||
String[] wrkflowAdj = workflowAdjacencies.split(" ");
|
||||
String[] jswrkflowAdj = jsEvent.getWorkflowAdjacencies().split(" ");
|
||||
Arrays.sort(wrkflowAdj);
|
||||
Arrays.sort(jswrkflowAdj);
|
||||
if (!Arrays.equals(wrkflowAdj, jswrkflowAdj)) {
|
||||
setAssertValue(false);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user