hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ka...@apache.org
Subject [45/50] [abbrv] hadoop git commit: HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
Date Wed, 26 Oct 2016 18:31:11 GMT
HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.


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

Branch: refs/heads/YARN-4752
Commit: e90af4a89ba2741aeca20ead47699587b14f0de8
Parents: ce6bbfb
Author: Kihwal Lee <kihwal@apache.org>
Authored: Wed Oct 26 09:16:13 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Wed Oct 26 09:16:13 2016 -0500

----------------------------------------------------------------------
 .../org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java   | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e90af4a8/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
index 7894163..c55c4d1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java
@@ -1531,7 +1531,6 @@ public class NameNodeRpcServer implements NamenodeProtocols {
   @Override // DatanodeProtocol, NamenodeProtocol
   public NamespaceInfo versionRequest() throws IOException {
     checkNNStartup();
-    namesystem.checkSuperuserPrivilege();
     return namesystem.getNamespaceInfo();
   }
 


---------------------------------------------------------------------
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