[ https://issues.apache.org/jira/browse/ATLAS-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825142#comment-17825142 ]
hongsp commented on ATLAS-4071: ------------------------------- i meet the same problem,and then atlas can't restart,how to solve the problem? > Fail to delete typedefs > ----------------------- > > Key: ATLAS-4071 > URL: https://issues.apache.org/jira/browse/ATLAS-4071 > Project: Atlas > Issue Type: Bug > Components: atlas-core > Affects Versions: 2.1.0 > Reporter: Andrew Zhu > Priority: Major > Attachments: cycleTypedefs.json > > > Here test a typedefs api with cycle relationship, and after create-> delete-> > create the typedefs successfully, but failed to delete it withing blow > exception. > Caused by: java.lang.IllegalArgumentException: Multiple entries with same > key: > Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@123644b5 > and > Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@1ad82f5fCaused > by: java.lang.IllegalArgumentException: Multiple entries with same key: > Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@123644b5 > and > Vertex1.Vertex1_code=org.janusgraph.diskstorage.indexing.StandardKeyInformation@1ad82f5f > at > com.google.common.collect.ImmutableMap.conflictException(ImmutableMap.java:215) > at > com.google.common.collect.ImmutableMap.checkNoConflict(ImmutableMap.java:209) > at > com.google.common.collect.RegularImmutableMap.checkNoConflictInKeyBucket(RegularImmutableMap.java:147) > at > com.google.common.collect.RegularImmutableMap.fromEntryArray(RegularImmutableMap.java:110) > at > com.google.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:393) > at > org.janusgraph.graphdb.database.IndexSerializer$IndexInfoRetriever$1.get(IndexSerializer.java:165) > at > org.janusgraph.diskstorage.indexing.IndexTransaction.getIndexMutation(IndexTransaction.java:82) > at > org.janusgraph.diskstorage.indexing.IndexTransaction.delete(IndexTransaction.java:75) > at > org.janusgraph.graphdb.database.StandardJanusGraph.prepareCommit(StandardJanusGraph.java:649) > at > org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:731) > at > org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425) > ... 100 more -- This message was sent by Atlassian Jira (v8.20.10#820010)