You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ss...@apache.org on 2015/05/06 03:10:27 UTC

[2/2] tez git commit: TEZ-2384. Add warning message in the case of prewarn under non-session mode. (Jeff Zhang via hitesh) (cherry picked from commit 077b352fbd7ec44a7e5c3224837d5048829f09c4)

TEZ-2384. Add warning message in the case of prewarn under non-session mode. (Jeff Zhang via hitesh)
(cherry picked from commit 077b352fbd7ec44a7e5c3224837d5048829f09c4)


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

Branch: refs/heads/branch-0.7
Commit: a6f0f1ef2981dc6c84ae6a7de830d79df6c27db0
Parents: 5c6bbf9
Author: Hitesh Shah <hi...@apache.org>
Authored: Tue May 5 15:33:25 2015 -0700
Committer: Siddharth Seth <ss...@apache.org>
Committed: Tue May 5 18:10:05 2015 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                | 1 +
 tez-api/src/main/java/org/apache/tez/client/TezClient.java | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/a6f0f1ef/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index a08e99f..7ffff25 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -9,6 +9,7 @@ INCOMPATIBLE CHANGES
   TEZ-1993. Implement a pluggable InputSizeEstimator for grouping fairly
 
 ALL CHANGES:
+  TEZ-2384. Add warning message in the case of prewarn under non-session mode.
   TEZ-2415. PMC RDF needs to use asfext:pmc, not asfext:PMC.
   TEZ-2401. Tez UI: All-dag page has duration keep counting for KILLED dag.
   TEZ-2392. Have all readers throw an Exception on incorrect next() usage.

http://git-wip-us.apache.org/repos/asf/tez/blob/a6f0f1ef/tez-api/src/main/java/org/apache/tez/client/TezClient.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/client/TezClient.java b/tez-api/src/main/java/org/apache/tez/client/TezClient.java
index b1e4239..ab76ca8 100644
--- a/tez-api/src/main/java/org/apache/tez/client/TezClient.java
+++ b/tez-api/src/main/java/org/apache/tez/client/TezClient.java
@@ -637,6 +637,7 @@ public class TezClient {
     if (!isSession) {
       // do nothing for non session mode. This is there to let the code 
       // work correctly in both modes
+      LOG.warn("preWarm is not supported in non-session mode, please use session-mode of TezClient");
       return;
     }