[
https://issues.apache.org/jira/browse/ATLAS-4132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dharshana M Krishnamoorthy updated ATLAS-4132:
----------------------------------------------
Component/s: atlas-core
> [Atlas: Glossary Term Bulk Import] When all data is populated with right
> input bulk import fails
> ------------------------------------------------------------------------------------------------
>
> Key: ATLAS-4132
> URL: https://issues.apache.org/jira/browse/ATLAS-4132
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Dharshana M Krishnamoorthy
> Priority: Major
>
> When all the fields in the bulk import are populated, bulk import fails with
> the following error
> Please note that glossary_1 and term_1 are being created as a part of this
> same request.
> {code:java}
> {"errorCode":"ATLAS-500-00-001","errorMessage":"The uploaded file has not
> been processed due to the following errors : \n[\nThe provided Reference
> Glossary and TermName does not exist in the system term_1:glossary_1 for
> record with TermName : term_3 and GlossaryName : glossary_3, \nThe provided
> Reference Glossary and TermName does not exist in the system
> term_1:glossary_1 for record with TermName : term_3 and GlossaryName :
> glossary_3, \nThe provided Reference Glossary and TermName does not exist in
> the system term_1:glossary_1 for record with TermName : term_3 and
> GlossaryName : glossary_3, \nThe provided Reference Glossary and TermName
> does not exist in the system term_1:glossary_1 for record with TermName :
> term_3 and GlossaryName : glossary_3, \nThe provided Reference Glossary and
> TermName does not exist in the system term_1:glossary_1 for record with
> TermName : term_3 and GlossaryName : glossary_3, \nThe provided Reference
> Glossary and TermName does not exist in the system term_1:glossary_1 for
> record with TermName : term_3 and GlossaryName : glossary_3, \nThe provided
> Reference Glossary and TermName does not exist in the system
> term_1:glossary_1 for record with TermName : term_3 and GlossaryName :
> glossary_3, \nThe provided Reference Glossary and TermName does not exist in
> the system term_2:glossary_2 for record with TermName : term_3 and
> GlossaryName : glossary_3, \nThe provided Reference Glossary and TermName
> does not exist in the system term_1:glossary_1 for record with TermName :
> term_3 and GlossaryName : glossary_3, \nThe provided Reference Glossary and
> TermName does not exist in the system term_1:glossary_1 for record with
> TermName : term_3 and GlossaryName : glossary_3, \nThe provided Reference
> Glossary and TermName does not exist in the system term_1:glossary_1 for
> record with TermName : term_3 and GlossaryName : glossary_3, \nThe provided
> Reference Glossary and TermName does not exist in the system
> term_1:glossary_1 for record with TermName : term_3 and GlossaryName :
> glossary_3, \nThe provided Reference Glossary and TermName does not exist in
> the system term_1:glossary_1 for record with TermName : term_3 and
> GlossaryName : glossary_3, \nThe provided Reference Glossary and TermName
> does not exist in the system term_1:glossary_1 for record with TermName :
> term_3 and GlossaryName : glossary_3]"}
> {code}
>
> File contents:
> {code:java}
> GlossaryName, TermName, ShortDescription, LongDescription, Examples,
> Abbreviation, Usage, AdditionalAttributes, TranslationTerms, ValidValuesFor,
> Synonyms, ReplacedBy, ValidValues, ReplacementTerms, SeeAlso,
> TranslatedTerms, IsA, Antonyms, Classifies, PreferredToTerms, PreferredTerms
> glossary_1,term_1
> glossary_2,term_2
> glossary_3,term_3,"short description for glossary_3","this can be used as
> long description for glossary_3 ", "random glossary Example", "G3", "Usage
> details", "glossaryAttribute:100%|termAttribute:0%",
> "glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1|glossary_2:term_2","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1","glossary_1:term_1"
> {code}
> Expectation:
> Since term_1 of glossary_1 and term_2 of glossary_2 are created as a part of
> this same request, glossary_3 and term_3 creation should succeed and
> associate it will the remaining data.
> Observation:
> When the related terms are created as a part of the current import, the call
> fails
--
This message was sent by Atlassian Jira
(v8.3.4#803005)