浏览代码

HDDS-786. Fix the findbugs for SCMClientProtocolServer#getContainerWithPipeline.

Yiqun Lin 6 年之前
父节点
当前提交
2e8ac14dcb

+ 0 - 1
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java

@@ -189,7 +189,6 @@ public class SCMClientProtocolServer implements
         }
         }
       }
       }
     }
     }
-    String remoteUser = getRpcRemoteUsername();
     getScm().checkAdminAccess(null);
     getScm().checkAdminAccess(null);
     return scm.getContainerManager()
     return scm.getContainerManager()
         .getContainerWithPipeline(ContainerID.valueof(containerID));
         .getContainerWithPipeline(ContainerID.valueof(containerID));