This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new b5622af ATLAS-3923 : fix NullPointException in
HBaseBasedAuditRepository.listEventsV2 (#108)
b5622af is described below
commit b5622afed500ae7b3f8990eff72ee79caec2d39c
Author: zyyBjtu <[email protected]>
AuthorDate: Wed Jun 16 22:00:18 2021 +0800
ATLAS-3923 : fix NullPointException in
HBaseBasedAuditRepository.listEventsV2 (#108)
Co-authored-by: zhangyy2255 <[email protected]>
(cherry picked from commit b0323398ff5e554b3818f18581651b140535ca88)
---
.../org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
b/repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
index b061761..a99f9b3 100644
---
a/repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
+++
b/repository/src/main/java/org/apache/atlas/repository/audit/HBaseBasedAuditRepository.java
@@ -232,7 +232,7 @@ public class HBaseBasedAuditRepository extends
AbstractStorageBasedAuditReposito
@Override
public List<EntityAuditEventV2> listEventsV2(String entityId,
EntityAuditActionV2 auditAction, String startKey, short maxResultCount) throws
AtlasBaseException {
if (LOG.isDebugEnabled()) {
- LOG.debug("Listing events for entity id {}, operation {}, starting
key{}, maximum result count {}", entityId, auditAction.toString(), startKey,
maxResultCount);
+ LOG.debug("Listing events for entity id {}, operation {}, starting
key{}, maximum result count {}", entityId, auditAction, startKey,
maxResultCount);
}
AtlasPerfMetrics.MetricRecorder metric =
RequestContext.get().startMetricRecord("listSortedEventsV2");
Table table = null;