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-2073. SimpleHistoryLoggingService cannot be read by log aggregation (umask) (jeagles)
Date Wed, 11 Feb 2015 23:42:18 GMT
Repository: tez
Updated Branches:
  refs/heads/branch-0.6 9870212f7 -> 2f899a87f


TEZ-2073. SimpleHistoryLoggingService cannot be read by log aggregation (umask) (jeagles)

(cherry picked from commit 53604b5b80bb3e70cf1fbeb5aabed0b5bcf854d3)


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

Branch: refs/heads/branch-0.6
Commit: 2f899a87fdea8141e10758ff0d40d732711dd4d7
Parents: 9870212
Author: Jonathan Eagles <jeagles@gmail.com>
Authored: Wed Feb 11 17:41:02 2015 -0600
Committer: Jonathan Eagles <jeagles@gmail.com>
Committed: Wed Feb 11 17:41:55 2015 -0600

----------------------------------------------------------------------
 CHANGES.txt                                                       | 1 +
 .../tez/dag/history/logging/impl/SimpleHistoryLoggingService.java | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/2f899a87/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index c146fb0..21b9457 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -6,6 +6,7 @@ Release 0.6.1: Unreleased
 INCOMPATIBLE CHANGES
 
 ALL CHANGES:
+  TEZ-2073. SimpleHistoryLoggingService cannot be read by log aggregation (umask)
   TEZ-2078. Tez UI: Task logs url use in-progress url causing various errors.
   TEZ-2077. Tez UI: No diagnostics on Task Attempt Details page if task attempt failed. 
   TEZ-2065. Setting up tez.tez-ui.history-url.base with a trailing slash can result in failures
to redirect correctly. 

http://git-wip-us.apache.org/repos/asf/tez/blob/2f899a87/tez-dag/src/main/java/org/apache/tez/dag/history/logging/impl/SimpleHistoryLoggingService.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/history/logging/impl/SimpleHistoryLoggingService.java
b/tez-dag/src/main/java/org/apache/tez/dag/history/logging/impl/SimpleHistoryLoggingService.java
index 1cbf516..261aa3a 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/history/logging/impl/SimpleHistoryLoggingService.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/history/logging/impl/SimpleHistoryLoggingService.java
@@ -28,7 +28,6 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FSDataOutputStream;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
-import org.apache.tez.common.TezUtilsInternal;
 import org.apache.tez.dag.api.TezConfiguration;
 import org.apache.tez.dag.history.DAGHistoryEvent;
 import org.apache.tez.dag.history.logging.HistoryLoggingService;
@@ -66,7 +65,7 @@ public class SimpleHistoryLoggingService extends HistoryLoggingService {
       LOG.info("Log file location for SimpleHistoryLoggingService not specified, defaulting
to"
           + " containerLogDir=" + logDir);
       Path p;
-      logFileFS = FileSystem.getLocal(conf);
+      logFileFS = FileSystem.getLocal(conf).getRawFileSystem();
       if (logDir != null) {
         p = new Path(logDir, logFileName);
       } else {


Mime
View raw message