HDFS-5061. Make FSNameSystem#auditLoggers an unmodifiable list. Contributed by Arpit Agarwal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1510611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6ea797d0d0
commit
390d689816
@ -284,6 +284,9 @@ Release 2.1.1-beta - UNRELEASED
|
||||
HDFS-4513. Clarify in the WebHDFS REST API that all JSON respsonses may
|
||||
contain additional properties. (szetszwo)
|
||||
|
||||
HDFS-5061. Make FSNameSystem#auditLoggers an unmodifiable list.
|
||||
(Arpit Agarwal via suresh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -774,7 +774,7 @@ private List<AuditLogger> initAuditLoggers(Configuration conf) {
|
||||
if (auditLoggers.isEmpty()) {
|
||||
auditLoggers.add(new DefaultAuditLogger());
|
||||
}
|
||||
return auditLoggers;
|
||||
return Collections.unmodifiableList(auditLoggers);
|
||||
}
|
||||
|
||||
void loadFSImage(StartupOption startOpt, FSImage fsImage, boolean haEnabled)
|
||||
|
Loading…
Reference in New Issue
Block a user