This is an automated email from the ASF dual-hosted git repository.

nixon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/master by this push:
     new b032339  ATLAS-3923 : fix NullPointException in 
HBaseBasedAuditRepository.listEventsV2 (#108)
b032339 is described below

commit b0323398ff5e554b3818f18581651b140535ca88
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]>
---
 .../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;

Reply via email to