hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ji...@apache.org
Subject [02/35] hadoop git commit: YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt via rohithsharmaks)
Date Thu, 08 Oct 2015 21:17:13 GMT
YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt
via rohithsharmaks)


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

Branch: refs/heads/HDFS-8966
Commit: 3793cbe4c3cce5d03c4a18d562cbcb7cacd8f743
Parents: 9156fc6
Author: Rohith Sharma K S <rohithsharmaks@apache.org>
Authored: Wed Oct 7 10:12:14 2015 +0530
Committer: Rohith Sharma K S <rohithsharmaks@apache.org>
Committed: Wed Oct 7 10:12:14 2015 +0530

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                    | 2 ++
 .../server/resourcemanager/recovery/FileSystemRMStateStore.java    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/3793cbe4/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index de81879..d5e6920 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -919,6 +919,8 @@ Release 2.8.0 - UNRELEASED
     YARN-4141. Runtime Application Priority change should not throw exception
     for applications at finishing states (Sunil G via jlowe)
 
+    YARN-4228. FileSystemRMStateStore use IOUtils#close instead of fs#close. (Bibin A Chundatt
via rohithsharmaks)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/3793cbe4/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/FileSystemRMStateStore.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/FileSystemRMStateStore.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/FileSystemRMStateStore.java
index 5ee4709..f02fe78 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/FileSystemRMStateStore.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/recovery/FileSystemRMStateStore.java
@@ -718,7 +718,7 @@ public class FileSystemRMStateStore extends RMStateStore {
     new FSAction<Void>() {
       @Override
       public Void run() throws Exception {
-        fs.close();
+        IOUtils.closeStream(fs);
         return null;
       }
     }.runWithRetries();


Mime
View raw message