From 90552b1ea8380c1155f7000bd9e4c23e709e6970 Mon Sep 17 00:00:00 2001 From: Nanda kumar Date: Wed, 10 Oct 2018 20:50:49 +0530 Subject: [PATCH] HDDS-608. Access denied exception for user hdfs while making getContainerWithPipeline call. Contributed by Mukul Kumar Singh. --- .../apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java | 2 +- 1 file changed, 1 insertion(+), 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 4eedf1fbda0..35234995992 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 class SCMClientProtocolServer implements } } String remoteUser = getRpcRemoteUsername(); - getScm().checkAdminAccess(remoteUser); + getScm().checkAdminAccess(null); return scm.getContainerManager() .getContainerWithPipeline(containerID); }