HDFS-10945. Fix the Findbugwaring FSNamesystem#renameTo() in branch-2. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
2ee47f02cf
commit
ebfbce3b5f
@ -2697,8 +2697,7 @@ boolean renameTo(String src, String dst, boolean logRetryCache)
|
||||
if (success) {
|
||||
getEditLog().logSync();
|
||||
}
|
||||
logAuditEvent(success, "rename", src, dst,
|
||||
ret == null ? null : ret.auditStat);
|
||||
logAuditEvent(success, "rename", src, dst, ret.auditStat);
|
||||
return success;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user