hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varunsax...@apache.org
Subject hadoop git commit: MAPREDUCE-6798. Fix intermittent failure of TestJobHistoryParsing.testJobHistoryMethods (Haibo Chen via Varun Saxena)
Date Thu, 27 Oct 2016 10:07:50 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 77f2684dd -> 4e403def8


MAPREDUCE-6798. Fix intermittent failure of TestJobHistoryParsing.testJobHistoryMethods (Haibo
Chen via Varun Saxena)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/4e403def
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/4e403def
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/4e403def

Branch: refs/heads/trunk
Commit: 4e403def80a22808a86f29ea45681883a112b577
Parents: 77f2684
Author: Varun Saxena <varunsaxena@apache.org>
Authored: Thu Oct 27 15:36:43 2016 +0530
Committer: Varun Saxena <varunsaxena@apache.org>
Committed: Thu Oct 27 15:36:59 2016 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/4e403def/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java
index fe5706a..84b1c6d 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobHistoryParsing.java
@@ -776,6 +776,8 @@ public class TestJobHistoryParsing {
       JobId jobId = job.getID();
       LOG.info("JOBID is " + TypeConverter.fromYarn(jobId).toString());
       app.waitForState(job, JobState.SUCCEEDED);
+      // make sure job history events are handled
+      app.waitForState(Service.STATE.STOPPED);
 
       JobHistory jobHistory = new JobHistory();
       jobHistory.init(configuration);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message