HDFS-5061. Merge 1510611 from trunk
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1510626 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3490c9aab7
commit
1df1391cca
|
@ -58,6 +58,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||||
HDFS-4513. Clarify in the WebHDFS REST API that all JSON respsonses may
|
HDFS-4513. Clarify in the WebHDFS REST API that all JSON respsonses may
|
||||||
contain additional properties. (szetszwo)
|
contain additional properties. (szetszwo)
|
||||||
|
|
||||||
|
HDFS-5061. Make FSNameSystem#auditLoggers an unmodifiable list.
|
||||||
|
(Arpit Agarwal via suresh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -759,7 +759,7 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
|
||||||
if (auditLoggers.isEmpty()) {
|
if (auditLoggers.isEmpty()) {
|
||||||
auditLoggers.add(new DefaultAuditLogger());
|
auditLoggers.add(new DefaultAuditLogger());
|
||||||
}
|
}
|
||||||
return auditLoggers;
|
return Collections.unmodifiableList(auditLoggers);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loadFSImage(StartupOption startOpt, FSImage fsImage, boolean haEnabled)
|
void loadFSImage(StartupOption startOpt, FSImage fsImage, boolean haEnabled)
|
||||||
|
|
Loading…
Reference in New Issue