You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by rb...@apache.org on 2014/09/16 08:41:27 UTC

[1/3] git commit: TEZ-1585. Memory leak in tez session mode (Rajesh Balamohan) (cherry picked from commit 938097d85f6f943a399c16fa50f07a7e2b05bdb5)

Repository: tez
Updated Branches:
  refs/heads/branch-0.5 f83387931 -> 915999a14
  refs/heads/master 938097d85 -> 3b34c4182


TEZ-1585. Memory leak in tez session mode (Rajesh Balamohan)
(cherry picked from commit 938097d85f6f943a399c16fa50f07a7e2b05bdb5)


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

Branch: refs/heads/branch-0.5
Commit: 59c0462aa851d30eae934075314a4ad18ae99a88
Parents: f833879
Author: Rajesh Balamohan <rb...@apache.org>
Authored: Tue Sep 16 11:51:13 2014 +0530
Committer: Rajesh Balamohan <rb...@apache.org>
Committed: Tue Sep 16 12:05:47 2014 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/tez/dag/app/DAGAppMaster.java    | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/59c0462a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
----------------------------------------------------------------------
diff --git a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
index 9cd716a..a576e79 100644
--- a/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
+++ b/tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java
@@ -531,6 +531,13 @@ public class DAGAppMaster extends AbstractService {
           }
         }
       }
+      //close all fs related caches
+      try {
+        FileSystem.closeAllForUGI(context.getCurrentDAG().getDagUGI());
+      } catch (IOException e) {
+        LOG.warn("Error occurred when trying to close FileSystem for userName " + context
+            .getCurrentDAG().getDagUGI().getUserName(), e);
+      }
       break;
     case AM_REBOOT:
       LOG.info("Received an AM_REBOOT signal");


[3/3] git commit: Update CHANGES.txt related to TEZ-1585

Posted by rb...@apache.org.
Update CHANGES.txt related to TEZ-1585


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

Branch: refs/heads/master
Commit: 3b34c4182839c63a0fa0dac66b22d8990acb04e0
Parents: 938097d
Author: Rajesh Balamohan <rb...@apache.org>
Authored: Tue Sep 16 12:10:58 2014 +0530
Committer: Rajesh Balamohan <rb...@apache.org>
Committed: Tue Sep 16 12:10:58 2014 +0530

----------------------------------------------------------------------
 CHANGES.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/3b34c418/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 97cf79b..ca4e7e2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -41,6 +41,7 @@ ALL CHANGES
   TEZ-1563. TezClient.submitDAGSession alters DAG local resources regardless
   of DAG submission
   TEZ-1571. Add create method for DataSinkDescriptor.
+  TEZ-1585. Memory leak in tez session mode.
 
 Release 0.5.0: 2014-09-03
 


[2/3] git commit: Update CHANGES.txt for TEZ-1585

Posted by rb...@apache.org.
Update CHANGES.txt for TEZ-1585


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

Branch: refs/heads/branch-0.5
Commit: 915999a146e87b1ecf9b92f88cf66db98eaa4b37
Parents: 59c0462
Author: Rajesh Balamohan <rb...@apache.org>
Authored: Tue Sep 16 12:08:03 2014 +0530
Committer: Rajesh Balamohan <rb...@apache.org>
Committed: Tue Sep 16 12:08:03 2014 +0530

----------------------------------------------------------------------
 CHANGES.txt | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/915999a1/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 70a0952..af1a920 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -21,6 +21,7 @@ ALL CHANGES
   TEZ-1563. TezClient.submitDAGSession alters DAG local resources regardless
   of DAG submission
   TEZ-1571. Add create method for DataSinkDescriptor.
+  TEZ-1585. Memory leak in tez session mode.
 
 Release 0.5.0: 2014-09-03