tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeag...@apache.org
Subject tez git commit: TEZ-2035. Make timeline server putDomain exceptions non-fatal - work-around
Date Thu, 05 Feb 2015 22:13:18 GMT
Repository: tez
Updated Branches:
  refs/heads/master b804b8f03 -> a8928aff1


TEZ-2035. Make timeline server putDomain exceptions non-fatal - work-around


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

Branch: refs/heads/master
Commit: a8928aff11fc6ccf9bc704710440459eed795630
Parents: b804b8f
Author: Jonathan Eagles <jeagles@gmail.com>
Authored: Thu Feb 5 16:13:03 2015 -0600
Committer: Jonathan Eagles <jeagles@gmail.com>
Committed: Thu Feb 5 16:13:03 2015 -0600

----------------------------------------------------------------------
 CHANGES.txt                                                      | 1 +
 .../tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/a8928aff/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 2c54b4b..ee0a225 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -58,6 +58,7 @@ Release 0.6.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2035. Make timeline server putDomain exceptions non-fatal - work-around
   TEZ-1929. pre-empted tasks should be marked as killed instead of failed
   TEZ-2017. TEZ UI - Dag view throwing error whild re-displaying additionals in some dags.
   TEZ-2013. TEZ UI - App Details Page UI Nits

http://git-wip-us.apache.org/repos/asf/tez/blob/a8928aff/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java
----------------------------------------------------------------------
diff --git a/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java
b/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java
index e11643f..d1138b0 100644
--- a/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java
+++ b/tez-plugins/tez-yarn-timeline-history-with-acls/src/main/java/org/apache/tez/dag/history/ats/acls/ATSHistoryACLPolicyManager.java
@@ -111,8 +111,8 @@ public class ATSHistoryACLPolicyManager implements HistoryACLPolicyManager
{
 
     try {
       timelineClient.putDomain(timelineDomain);
-    } catch (YarnException e) {
-      throw new IOException(e);
+    } catch (Exception e) {
+      LOG.warn("Could not post timeline domain", e);
     }
   }
 


Mime
View raw message