This is an automated email from the ASF dual-hosted git repository.
bharat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
The following commit(s) were added to refs/heads/master by this push:
new f160f46 HDDS-3059 Changed auditing in OzoneManager#getFileStatus to
read (#587)
f160f46 is described below
commit f160f461a65134abccf9115fe01fc9df0756e83f
Author: Jan Hentschel <[email protected]>
AuthorDate: Sun Feb 23 22:40:24 2020 +0100
HDDS-3059 Changed auditing in OzoneManager#getFileStatus to read (#587)
---
.../src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
index 57ef22f..5a992da 100644
---
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
+++
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OzoneManager.java
@@ -2780,13 +2780,13 @@ public final class OzoneManager extends
ServiceRuntimeInfoImpl
} catch (IOException ex) {
metrics.incNumGetFileStatusFails();
auditSuccess = false;
- AUDIT.logWriteFailure(
+ AUDIT.logReadFailure(
buildAuditMessageForFailure(OMAction.GET_FILE_STATUS,
(args == null) ? null : args.toAuditMap(), ex));
throw ex;
} finally {
if (auditSuccess) {
- AUDIT.logWriteSuccess(
+ AUDIT.logReadSuccess(
buildAuditMessageForSuccess(OMAction.GET_FILE_STATUS,
(args == null) ? null : args.toAuditMap()));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]