hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject hadoop git commit: HDFS-11759. Ozone : SCMNodeManager#close() should also close node pool manager object. Contributed by Chen Liang.
Date Sat, 06 May 2017 15:14:00 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 a704a2475 -> 2feec0045


HDFS-11759. Ozone : SCMNodeManager#close() should also close node pool manager object. Contributed
by Chen Liang.


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

Branch: refs/heads/HDFS-7240
Commit: 2feec0045d66d145d8975c63b43068fe2c1bd3a4
Parents: a704a24
Author: Weiwei Yang <wwei@apache.org>
Authored: Sat May 6 23:12:54 2017 +0800
Committer: Weiwei Yang <wwei@apache.org>
Committed: Sat May 6 23:12:54 2017 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/2feec004/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java
index 23e4e94..9d53e01 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/node/SCMNodeManager.java
@@ -622,6 +622,7 @@ public class SCMNodeManager
   @Override
   public void close() throws IOException {
     unregisterMXBean();
+    nodePoolManager.close();
     executorService.shutdown();
     try {
       if (!executorService.awaitTermination(5, TimeUnit.SECONDS)) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message