From 6c630d0b09e47a07aba51c32cd3819b9169e2c56 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Wed, 6 Dec 2017 15:14:01 -0800 Subject: [PATCH] HDFS-12899. Ozone: SCM: BlockManagerImpl close is called twice during StorageContainerManager#stop. Contributed by Nandakumar. --- .../org/apache/hadoop/ozone/scm/StorageContainerManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/StorageContainerManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/StorageContainerManager.java index bae4cffd303..1fa02458d12 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/StorageContainerManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/ozone/scm/StorageContainerManager.java @@ -897,7 +897,6 @@ public class StorageContainerManager extends ServiceRuntimeInfoImpl unregisterMXBean(); IOUtils.cleanupWithLogger(LOG, scmContainerManager); - IOUtils.cleanupWithLogger(LOG, scmBlockManager); IOUtils.cleanupWithLogger(LOG, scmNodeManager); }