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 4eedf1fbda..3523499599 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 @@ -187,7 +187,7 @@ public ContainerWithPipeline getContainerWithPipeline(long containerID) } } String remoteUser = getRpcRemoteUsername(); - getScm().checkAdminAccess(remoteUser); + getScm().checkAdminAccess(null); return scm.getContainerManager() .getContainerWithPipeline(containerID); }