You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by hi...@apache.org on 2015/11/18 23:59:24 UTC

tez git commit: TEZ-2944. NPE in TestProcessorContext. (Bikas Saha via hitesh)

Repository: tez
Updated Branches:
  refs/heads/master fd13f51b3 -> 28fb6522f


TEZ-2944. NPE in TestProcessorContext. (Bikas Saha via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/28fb6522
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/28fb6522
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/28fb6522

Branch: refs/heads/master
Commit: 28fb6522f4510cf62021c6dec55159d3b4de1b35
Parents: fd13f51
Author: Hitesh Shah <hi...@apache.org>
Authored: Wed Nov 18 14:59:06 2015 -0800
Committer: Hitesh Shah <hi...@apache.org>
Committed: Wed Nov 18 14:59:06 2015 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                      | 4 ++--
 .../org/apache/tez/runtime/api/impl/TestProcessorContext.java    | 4 ----
 2 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/28fb6522/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index b38fafb..a6c4a63 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,8 +8,8 @@ INCOMPATIBLE CHANGES
   TEZ-2948. Stop using dagName in the dagComplete notification to TaskCommunicators.
 
 ALL CHANGES:
-  TEZ-2945. TEZ-2740 addendum to update API with currently supported
-  parameters
+  TEZ-2944. NPE in TestProcessorContext.
+  TEZ-2945. TEZ-2740 addendum to update API with currently supported parameters
   TEZ-2933. Tez UI: Load application details from RM when available
   TEZ-2908. Tez UI: Errors are logged, but not displayed in the UI when AM fetch fails
   TEZ-2923. Tez Live UI counters view empty for vertices, tasks, attempts

http://git-wip-us.apache.org/repos/asf/tez/blob/28fb6522/tez-runtime-internals/src/test/java/org/apache/tez/runtime/api/impl/TestProcessorContext.java
----------------------------------------------------------------------
diff --git a/tez-runtime-internals/src/test/java/org/apache/tez/runtime/api/impl/TestProcessorContext.java b/tez-runtime-internals/src/test/java/org/apache/tez/runtime/api/impl/TestProcessorContext.java
index ff94e7f..40bc257 100644
--- a/tez-runtime-internals/src/test/java/org/apache/tez/runtime/api/impl/TestProcessorContext.java
+++ b/tez-runtime-internals/src/test/java/org/apache/tez/runtime/api/impl/TestProcessorContext.java
@@ -96,9 +96,5 @@ public class TestProcessorContext {
     assertEquals(vertexName, procContext.getTaskVertexName());
     assertEquals(vertexId.getId(), procContext.getTaskVertexIndex());
     assertTrue(Arrays.equals(localDirs, procContext.getWorkDirs()));
-    
-    // test auto call of notifyProgress
-    procContext.setProgress(0.1f);
-    verify(runtimeTask, times(1)).notifyProgressInvocation();
   }
 }