HDFS-13973. getErasureCodingPolicy should log path in audit event. Contributed by Shweta.

Signed-off-by: Xiao Chen <xiao@apache.org>
This commit is contained in:
Shweta 2018-10-11 20:38:19 -07:00 committed by Xiao Chen
parent a3edfddcf7
commit c0118105b7

View File

@ -7728,7 +7728,7 @@ ErasureCodingPolicy getErasureCodingPolicy(String src)
return ret;
} finally {
readUnlock(operationName);
logAuditEvent(success, operationName, null);
logAuditEvent(success, operationName, src);
}
}