From 2e8ac14dcb57a0fe07b2119c26535c3541665b70 Mon Sep 17 00:00:00 2001 From: Yiqun Lin Date: Thu, 1 Nov 2018 14:10:17 +0800 Subject: [PATCH] HDDS-786. Fix the findbugs for SCMClientProtocolServer#getContainerWithPipeline. --- .../apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java index e92200a237..58cb871c47 100644 --- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java +++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java @@ -189,7 +189,6 @@ public ContainerWithPipeline getContainerWithPipeline(long containerID) } } } - String remoteUser = getRpcRemoteUsername(); getScm().checkAdminAccess(null); return scm.getContainerManager() .getContainerWithPipeline(ContainerID.valueof(containerID));