HDFS-11053. Unnecessary superuser check in versionRequest(). Contributed by Kihwal Lee.
Updated CHANGES.txt
(cherry picked from commit e90af4a89b
)
This commit is contained in:
parent
c05d701161
commit
fdd645be6b
|
@ -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.
|
||||
|
|
|
@ -1410,7 +1410,6 @@ class NameNodeRpcServer implements NamenodeProtocols {
|
|||
@Override // DatanodeProtocol, NamenodeProtocol
|
||||
public NamespaceInfo versionRequest() throws IOException {
|
||||
checkNNStartup();
|
||||
namesystem.checkSuperuserPrivilege();
|
||||
return namesystem.getNamespaceInfo();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue