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

Updated CHANGES.txt
(cherry picked from commit e90af4a89b)
This commit is contained in:
Kihwal Lee 2016-10-26 09:18:45 -05:00
parent c05d701161
commit fdd645be6b
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

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