You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Radhika Kundam (Jira)" <ji...@apache.org> on 2023/06/26 18:40:00 UTC

[jira] [Assigned] (ATLAS-4766) java.lang.IllegalStateException from JanuGraph while purging entities at Atlas

     [ https://issues.apache.org/jira/browse/ATLAS-4766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radhika Kundam reassigned ATLAS-4766:
-------------------------------------

    Assignee: Sidharth Kumar Mishra

> java.lang.IllegalStateException from JanuGraph while purging entities at Atlas
> ------------------------------------------------------------------------------
>
>                 Key: ATLAS-4766
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4766
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Sidharth Mishra
>            Assignee: Sidharth Kumar Mishra
>            Priority: Blocker
>
> When attempting to purge approximately 1000 entities in Atlas, an exception stack is encountered in the application.log file -
> {code:java}
> 2023-04-17 13:35:17,286 ERROR - [etp1496355635-29 - 8a3bb439-bef6-434a-a47d-061db663be84:] ~ Error handling a request: f60ada838c3dd4dd (ExceptionMapperUtil:32)
> java.lang.IllegalStateException: Vertex with id 205545688 was removed.
> at org.janusgraph.core.InvalidElementException.removedException(InvalidElementException.java:57)
> at org.janusgraph.graphdb.vertices.AbstractVertex.verifyAccess(AbstractVertex.java:98)
> at org.janusgraph.graphdb.vertices.AbstractVertex.query(AbstractVertex.java:145)
> at org.janusgraph.graphdb.vertices.AbstractVertex.properties(AbstractVertex.java:198)
> at org.apache.tinkerpop.gremlin.structure.Vertex.property(Vertex.java:70)
> at org.apache.tinkerpop.gremlin.structure.Vertex.property(Vertex.java:38)
> at org.apache.atlas.repository.graphdb.janus.AtlasJanusElement.getProperty(AtlasJanusElement.java:66)
> at org.apache.atlas.repository.graph.GraphHelper.getTypeName(GraphHelper.java:867)
> at org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.isRelationshipEdge(DeleteHandlerV1.java:534)
> at org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteVertex(DeleteHandlerV1.java:916)
> at org.apache.atlas.repository.store.graph.v1.DeleteHandlerV1.deleteTypeVertex(DeleteHandlerV1.java:770) {code}
> The issue seems to be inconsistent, as the error can occur for different vertices within the list of 1000, resulting in a failed transaction and rollback. Unfortunately, there is no known workaround for this problem, as even with fewer entities, the error persists.
>  
> Atlas Rest used - http://\{atlas host}:31000/api/atlas/admin/purge/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)