hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
Date Wed, 26 Oct 2016 14:17:43 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 366ebb082 -> 0cd43dd2b


HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.

(cherry picked from commit e90af4a89ba2741aeca20ead47699587b14f0de8)


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

Branch: refs/heads/branch-2
Commit: 0cd43dd2b7bdf0c0b9c2466e8a8cbe508daad083
Parents: 366ebb0
Author: Kihwal Lee <kihwal@apache.org>
Authored: Wed Oct 26 09:17:29 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Wed Oct 26 09:17:29 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/0cd43dd2/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 8ee1abf..45adf7b 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
@@ -1527,7 +1527,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