HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
This commit is contained in:
parent
ce6bbfb23c
commit
e90af4a89b
|
@ -1531,7 +1531,6 @@ public class NameNodeRpcServer implements NamenodeProtocols {
|
|||
@Override // DatanodeProtocol, NamenodeProtocol
|
||||
public NamespaceInfo versionRequest() throws IOException {
|
||||
checkNNStartup();
|
||||
namesystem.checkSuperuserPrivilege();
|
||||
return namesystem.getNamespaceInfo();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue