Ashutosh Mestry created ATLAS-4047:
--------------------------------------

             Summary: Audits Framework: Handling Large Object List
                 Key: ATLAS-4047
                 URL: https://issues.apache.org/jira/browse/ATLAS-4047
             Project: Atlas
          Issue Type: Bug
            Reporter: Ashutosh Mestry
            Assignee: Ashutosh Mestry


*Background*

Existing _AtlasAuditService_ implementation, accepts list of GUIDs (object ids) 
and attempts to store it in a vertex.

*Steps to Duplicate*

Setup:
 * Create an export payload with 50 tables each with about 50 columns.

Steps to duplicate:
 * Attempt to import. Import succeeds.

Expected result: Import completes successfully.

Actual result: Following exception is seen within the log, import returns and 
error code:
{code:java}
at 
org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:177)
 at 
org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:177)
 at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:116)
 at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
 at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
 at 
org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$f28200fc.createOrUpdate(<generated>)
 at org.apache.atlas.repository.ogm.DataAccess.saveNoLoad(DataAccess.java:73) 
at 
org.apache.atlas.repository.audit.AtlasAuditService.save(AtlasAuditService.java:62)
 at 
org.apache.atlas.repository.audit.AtlasAuditService.add(AtlasAuditService.java:82)
 at 
org.apache.atlas.repository.audit.AtlasAuditService$$FastClassBySpringCGLIB$$2eddda47.invoke(<generated>)
 at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204){code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to