Skip to content

Commit

Permalink
HDFS-11053. Unnecessary superuser check in versionRequest(). Contribu…
Browse files Browse the repository at this point in the history
…ted by Kihwal Lee.
  • Loading branch information
kihwal committed Oct 26, 2016
1 parent ce6bbfb commit e90af4a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,6 @@ public void errorReport(DatanodeRegistration nodeReg,
@Override // DatanodeProtocol, NamenodeProtocol
public NamespaceInfo versionRequest() throws IOException {
checkNNStartup();
namesystem.checkSuperuserPrivilege();
return namesystem.getNamespaceInfo();
}

Expand Down

0 comments on commit e90af4a

Please sign in to comment.