You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/05/03 23:35:00 UTC

[jira] [Commented] (ATLAS-4272) [Atlas: Glossary Term Bulk Import] Re-importing after deleting a glossary fails

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

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

Commit 77914a3a0dafc0975ed5654ea5394d4215e2d426 in atlas's branch refs/heads/master from sidmishra
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=77914a3 ]

ATLAS-4272: Changed the cache to thread local and clearing after import


> [Atlas: Glossary Term Bulk Import] Re-importing after deleting a glossary fails 
> --------------------------------------------------------------------------------
>
>                 Key: ATLAS-4272
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4272
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: Sidharth Kumar Mishra
>            Priority: Major
>         Attachments: ATLAS-4272.patch
>
>
> Scenario: Import a glossary, after import delete the glossary and its terms and reimport the same input
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples, Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor, Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso, TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> abc_glossary,term_1
> abc_glossary,term_2
> abc_glossary,term_3{code}
> This throws the following error
> {code:java}
> errorCode: "ATLAS-404-00-005",
> errorMessage: "Given instance guid 6363d630-a96e-4c15-a3ae-d4812dd67aa2 is invalid/not found" {code}
> {code:java}
> 2021-05-03 13:33:43,562 ERROR - [etp813603842-30 - 8f83ce44-0c56-4224-9f57-8211b3435b2e:] ~ graph rollback due to exception AtlasBaseException:Given instance guid 45163be7-377a-4b74-b977-75fa5a4b5a2e is invalid/not found (GraphTransactionInterceptor:202) 
> {code}



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