[
https://issues.apache.org/jira/browse/ATLAS-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Priyanshi Shah updated ATLAS-4892:
----------------------------------
Description:
Exporting shell entities causes failure at Import.
For Hive tables created using spark, there is a chance of shell entities that
can be created in Atlas.
Before the entities could get resolved , if export zip has those entities,
import fails with
{code:java}
2024-04-29 17:12:16,981 ERROR - [etp640294829-283 -
84da4eb4-f1b8-4723-953c-6b86bcf60647:] ~ import(user=hrt_qa,
from=10.19.24.189): failed (ImportService:124)
org.apache.atlas.exception.AtlasBaseException: Invalid instance
creation/updation parameters passed : hive_table.name: mandatory attribute
value missing in type Asset {code}
> Export/Import APIs : Unable to import shell entities
> ----------------------------------------------------
>
> Key: ATLAS-4892
> URL: https://issues.apache.org/jira/browse/ATLAS-4892
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 3.0.0, 2.3.0
> Reporter: Priyanshi Shah
> Assignee: Priyanshi Shah
> Priority: Major
>
> Exporting shell entities causes failure at Import.
> For Hive tables created using spark, there is a chance of shell entities that
> can be created in Atlas.
> Before the entities could get resolved , if export zip has those entities,
> import fails with
> {code:java}
> 2024-04-29 17:12:16,981 ERROR - [etp640294829-283 -
> 84da4eb4-f1b8-4723-953c-6b86bcf60647:] ~ import(user=hrt_qa,
> from=10.19.24.189): failed (ImportService:124)
> org.apache.atlas.exception.AtlasBaseException: Invalid instance
> creation/updation parameters passed : hive_table.name: mandatory attribute
> value missing in type Asset {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)