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

[jira] [Updated] (ATLAS-4071) Fail to delete typedefs

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

Andrew Zhu updated ATLAS-4071:
------------------------------
    Description: 
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

  was:
Here test a typedefs api with cycle relationship, and 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


> 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.3.4#803005)