tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gop...@apache.org
Subject git commit: TEZ-1162. The simple history text files now use ^A\n as their line endings.
Date Wed, 04 Jun 2014 04:05:10 GMT
Repository: incubator-tez
Updated Branches:
  refs/heads/master beca145bb -> 6b061cac8


TEZ-1162. The simple history text files now use ^A\n as their line endings.


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

Branch: refs/heads/master
Commit: 6b061cac8978703620245e7f5fd93f5b81740435
Parents: beca145
Author: Gopal V <gopalv@apache.org>
Authored: Tue Jun 3 21:01:40 2014 -0700
Committer: Gopal V <gopalv@apache.org>
Committed: Tue Jun 3 21:01:40 2014 -0700

----------------------------------------------------------------------
 .../tez/dag/history/logging/impl/SimpleHistoryLoggingService.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/6b061cac/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 257b6c8..0300225 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
@@ -43,7 +43,7 @@ public class SimpleHistoryLoggingService extends HistoryLoggingService {
   private FSDataOutputStream outputStream;
   private LinkedBlockingQueue<DAGHistoryEvent> eventQueue =
       new LinkedBlockingQueue<DAGHistoryEvent>();
-  public static final String RECORD_SEPARATOR = System.getProperty("line.separator") + "\u0001";
+  public static final String RECORD_SEPARATOR = "\u0001" + System.getProperty("line.separator");
   public static final String LOG_FILE_NAME_PREFIX = "history.txt";
 
   private Thread eventHandlingThread;


Mime
View raw message