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

This commit is contained in:
Kihwal Lee 2016-10-26 09:16:13 -05:00
parent ce6bbfb23c
commit e90af4a89b
1 changed files with 0 additions and 1 deletions

View File

@ -1531,7 +1531,6 @@ public class NameNodeRpcServer implements NamenodeProtocols {
@Override // DatanodeProtocol, NamenodeProtocol
public NamespaceInfo versionRequest() throws IOException {
checkNNStartup();
namesystem.checkSuperuserPrivilege();
return namesystem.getNamespaceInfo();
}