Repository: hadoop Updated Branches: refs/heads/branch-2.8 49adab66b -> e7bd2e8d6
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/e7bd2e8d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e7bd2e8d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e7bd2e8d Branch: refs/heads/branch-2.8 Commit: e7bd2e8d63122d99623e73a16b224daf3707f827 Parents: 49adab6 Author: Kihwal Lee <kih...@apache.org> Authored: Wed Oct 26 09:18:01 2016 -0500 Committer: Kihwal Lee <kih...@apache.org> Committed: Wed Oct 26 09:18:01 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/e7bd2e8d/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 6fa5072..683e90d 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 @@ -1514,7 +1514,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-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org