From 2cad68b486ebc989acca15830490df16599e3f8b Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Fri, 12 Oct 2018 10:51:50 -0700 Subject: [PATCH] HDDS-555. RandomKeyGenerator runs not closing the XceiverClient properly(addendum). Contributed by Mukul Kumar Singh. (cherry picked from commit 07d55292dc1536d3b34a89d4a45edf688d62a9e5) --- .../org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java index a9781b1d442..aa1df4c8f63 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java +++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestXceiverClientMetrics.java @@ -83,8 +83,7 @@ public class TestXceiverClientMetrics { .allocateContainer(clientManager.getType(), clientManager.getFactor(), containerOwner); XceiverClientSpi client = clientManager - .acquireClient(container.getPipeline(), - container.getContainerInfo().getContainerID()); + .acquireClient(container.getPipeline()); ContainerCommandRequestProto request = ContainerTestHelper .getCreateContainerRequest(