hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject hadoop git commit: HDDS-608. Access denied exception for user hdfs while making getContainerWithPipeline call. Contributed by Mukul Kumar Singh.
Date Wed, 10 Oct 2018 15:21:45 GMT
Repository: hadoop
Updated Branches:
  refs/heads/ozone-0.3 b64fcc71f -> 79d11e50a


HDDS-608. Access denied exception for user hdfs while making getContainerWithPipeline call.
Contributed by Mukul Kumar Singh.

(cherry picked from commit 90552b1ea8380c1155f7000bd9e4c23e709e6970)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/79d11e50
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/79d11e50
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/79d11e50

Branch: refs/heads/ozone-0.3
Commit: 79d11e50a77803b6fe52d626503a79aba03f6648
Parents: b64fcc7
Author: Nanda kumar <nanda@apache.org>
Authored: Wed Oct 10 20:50:49 2018 +0530
Committer: Nanda kumar <nanda@apache.org>
Committed: Wed Oct 10 20:51:23 2018 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/79d11e50/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/server/SCMClientProtocolServer.java
----------------------------------------------------------------------
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 4eedf1f..3523499 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);
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message