[ 
https://issues.apache.org/jira/browse/ATLAS-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051805#comment-18051805
 ] 

ASF subversion and git services commented on ATLAS-5171:
--------------------------------------------------------

Commit 493560073c1edaf7253b6fded9e1a349abda683f in atlas's branch 
refs/heads/master from Pinal Shah
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=493560073 ]

ATLAS-5171: Regression: Reindexing is failing (#494)

---------

Co-authored-by: Pinal Shah <[email protected]>

> Regression: Reindexing is failing
> ---------------------------------
>
>                 Key: ATLAS-5171
>                 URL: https://issues.apache.org/jira/browse/ATLAS-5171
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 3.0.0
>            Reporter: Pinal Shah
>            Assignee: Pinal Shah
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> *Issue:* While reindexing to solr vertex_index and edge_index, exceptions are 
> piling in the logs, Although elements are reindexed
> *Reproduce Steps:* Add {color:#4c9aff}atlas.rebuild.index=true{color} to 
> atlas-application.properties and restart Atlas
> *Exception:*
> {code:java}
> ERROR org.apache.atlas.repository.patches.ReIndexPatch: 
> IllegalStateException: Exception
> java.lang.IllegalStateException: This management system instance has been 
> closed
>         at 
> com.google.common.base.Preconditions.checkState(Preconditions.java:513)
>         at 
> org.janusgraph.graphdb.database.management.ManagementSystem.ensureOpen(ManagementSystem.java:228)
>         at 
> org.janusgraph.graphdb.database.management.ManagementSystem.commit(ManagementSystem.java:233)
>         at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphManagement.commit(AtlasJanusGraphManagement.java:175)
>         at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraphManagement.close(AtlasJanusGraphManagement.java:156)
>         at 
> org.apache.atlas.repository.patches.ReIndexPatch$ReindexConsumer.attemptCommit(ReIndexPatch.java:183)
>         at 
> org.apache.atlas.repository.patches.ReIndexPatch$ReindexConsumer.commitDirty(ReIndexPatch.java:171)
>         at org.apache.atlas.pc.WorkItemConsumer.run(WorkItemConsumer.java:56)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
>         at java.base/java.lang.Thread.run(Thread.java:840) {code}
> *RCA:*
> Once reindex is completed, graph management object is committed, and then 
> while close() is invoked, it again tries to commit(), where it fails because 
> it doesnt get management object.



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

Reply via email to