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/06/04 20:20:11 UTC

tez git commit: TEZ-2489. Disable warn log for Timeline ACL error when tez.allow.disabled.timeline-domains set to true. (Chang Li via hitesh)

Repository: tez
Updated Branches:
  refs/heads/master d2b274904 -> c241f4094


TEZ-2489. Disable warn log for Timeline ACL error when tez.allow.disabled.timeline-domains set to true. (Chang Li via hitesh)


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

Branch: refs/heads/master
Commit: c241f40944e9bafd4c3682b001502b5ea7a5e6e8
Parents: d2b2749
Author: Hitesh Shah <hi...@apache.org>
Authored: Thu Jun 4 11:19:46 2015 -0700
Committer: Hitesh Shah <hi...@apache.org>
Committed: Thu Jun 4 11:19:46 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/tez/blob/c241f409/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index d4603e1..91fb528 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -8,6 +8,7 @@ INCOMPATIBLE CHANGES
   TEZ-2468. Change the minimum Java version to Java 7.
 
 ALL CHANGES:
+  TEZ-2489. Disable warn log for Timeline ACL error when tez.allow.disabled.timeline-domains set to true.
   TEZ-2376. Remove TaskAttemptEventType.TA_DIAGNOSTICS_UPDATE
   TEZ-2509. YarnTaskSchedulerService should not try to allocate containers if AM is shutting down.
   TEZ-2506. TestAysncHttpConnection failing.
@@ -33,6 +34,7 @@ Release 0.7.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2489. Disable warn log for Timeline ACL error when tez.allow.disabled.timeline-domains set to true.
   TEZ-2528. Tez UI: Column selector buttons gets clipped, and table scroll bar not visible in mac.
   TEZ-2391. TestVertexImpl timing out at times on jenkins builds.
   TEZ-2509. YarnTaskSchedulerService should not try to allocate containers if AM is shutting down.
@@ -234,6 +236,7 @@ Release 0.6.2: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2489. Disable warn log for Timeline ACL error when tez.allow.disabled.timeline-domains set to true.
   TEZ-2509. YarnTaskSchedulerService should not try to allocate containers if AM is shutting down.
   TEZ-2483. Tez should close task if processor fail
 

http://git-wip-us.apache.org/repos/asf/tez/blob/c241f409/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 ab76ca8..8120070 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
@@ -318,11 +318,11 @@ public class TezClient {
             atsHistoryACLManagerClassName);
         historyACLPolicyManager.setConf(this.amConfig.getYarnConfiguration());
       } catch (TezUncheckedException e) {
-        LOG.warn("Could not instantiate object for " + atsHistoryACLManagerClassName
-            + ". ACLs cannot be enforced correctly for history data in Timeline", e);
         if (!amConfig.getTezConfiguration().getBoolean(
             TezConfiguration.TEZ_AM_ALLOW_DISABLED_TIMELINE_DOMAINS,
             TezConfiguration.TEZ_AM_ALLOW_DISABLED_TIMELINE_DOMAINS_DEFAULT)) {
+          LOG.warn("Could not instantiate object for " + atsHistoryACLManagerClassName
+                    + ". ACLs cannot be enforced correctly for history data in Timeline", e);
           throw e;
         }
         historyACLPolicyManager = null;