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

(cherry picked from commit e90af4a89b)
This commit is contained in:
Kihwal Lee 2016-10-26 09:18:01 -05:00
parent 49adab66b8
commit e7bd2e8d63
1 changed files with 0 additions and 1 deletions

View File

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