You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by zj...@apache.org on 2014/10/21 09:26:26 UTC
git commit: TEZ-1686. TestRecoveryParser.testGetLastCompletedDAG
fails sometimes (zjffdu)
Repository: tez
Updated Branches:
refs/heads/branch-0.5 9b6fc068c -> fbb25a9a0
TEZ-1686. TestRecoveryParser.testGetLastCompletedDAG fails sometimes (zjffdu)
(cherry picked from commit 244f12f66e9c9f8773102c6d755bf449dfb76cf0)
Conflicts:
CHANGES.txt
Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/fbb25a9a
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/fbb25a9a
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/fbb25a9a
Branch: refs/heads/branch-0.5
Commit: fbb25a9a064391fbee89208ca4dcf67a7d95727f
Parents: 9b6fc06
Author: Jeff Zhang <zj...@apache.org>
Authored: Tue Oct 21 14:59:43 2014 +0800
Committer: Jeff Zhang <zj...@apache.org>
Committed: Tue Oct 21 15:23:29 2014 +0800
----------------------------------------------------------------------
CHANGES.txt | 1 +
.../src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tez/blob/fbb25a9a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a04c812..ca2768b 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -36,6 +36,7 @@ ALL CHANGES:
TEZ-1682. Tez AM hangs at times when there are task failures.
TEZ-1683. Do ugi::getGroups only when necessary when checking ACLs.
TEZ-1584. Restore counters from DAGFinishedEvent when DAG is completed.
+ TEZ-1686. TestRecoveryParser.testGetLastCompletedDAG fails sometimes
Release 0.5.1: 2014-10-02
http://git-wip-us.apache.org/repos/asf/tez/blob/fbb25a9a/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java b/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
index 77c76c5..0425d25 100644
--- a/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
+++ b/tez-dag/src/test/java/org/apache/tez/dag/app/TestRecoveryParser.java
@@ -60,7 +60,7 @@ public class TestRecoveryParser {
public void testGetLastCompletedDAG() {
Map<TezDAGID, DAGSummaryData> summaryDataMap =
new HashMap<TezDAGID, DAGSummaryData>();
- int lastCompletedDAGId = new Random().nextInt(100);
+ int lastCompletedDAGId = new Random().nextInt(20) + 1;
for (int i = 1; i <= lastCompletedDAGId; ++i) {
ApplicationId appId = ApplicationId.newInstance(1, 1);
TezDAGID dagId = TezDAGID.getInstance(appId, i);