Repository: tez Updated Branches: refs/heads/master bce7ff211 -> 077b352fb
TEZ-2384. Add warning message in the case of prewarn under non-session mode. (Jeff Zhang via hitesh) Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/077b352f Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/077b352f Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/077b352f Branch: refs/heads/master Commit: 077b352fbd7ec44a7e5c3224837d5048829f09c4 Parents: bce7ff2 Author: Hitesh Shah <[email protected]> Authored: Tue May 5 15:33:25 2015 -0700 Committer: Hitesh Shah <[email protected]> Committed: Tue May 5 15:33:25 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/077b352f/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index c4ae033..8633419 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-1752. Inputs / Outputs in the Runtime library should be interruptable. TEZ-2401. Tez UI: All-dag page has duration keep counting for KILLED dag. http://git-wip-us.apache.org/repos/asf/tez/blob/077b352f/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; }
