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. Updated CHANGES.txt (cherry picked from commit e90af4a89ba2741aeca20ead47699587b14f0de8)
Date Wed, 26 Oct 2016 14:20:11 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.7 c05d70116 -> fdd645be6


HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
Updated CHANGES.txt
(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/fdd645be
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/fdd645be
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/fdd645be

Branch: refs/heads/branch-2.7
Commit: fdd645be6b5bb3a19b3c3530d03907d563abe257
Parents: c05d701
Author: Kihwal Lee <kihwal@apache.org>
Authored: Wed Oct 26 09:18:45 2016 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Wed Oct 26 09:19:45 2016 -0500

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                        | 2 ++
 .../org/apache/hadoop/hdfs/server/namenode/NameNodeRpcServer.java  | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/fdd645be/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index 6c6f406..bf7199b 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -55,6 +55,8 @@ Release 2.7.4 - UNRELEASED
     HDFS-10712. TestDataNodeVolumeFailure should pass not null
     BlockReportContext. (Vinitha Gankidi via shv)
 
+    HDFS-11053. Unnecessary superuser check in versionRequest() (kihwal)
+
   OPTIMIZATIONS
 
     HDFS-10896. Move lock logging logic from FSNamesystem into FSNamesystemLock.

http://git-wip-us.apache.org/repos/asf/hadoop/blob/fdd645be/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 ef1ea60..4f30f97 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
@@ -1410,7 +1410,6 @@ 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