[
https://issues.apache.org/jira/browse/ATLAS-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paresh Devalia updated ATLAS-4627:
----------------------------------
Fix Version/s: 3.0.0
> Delete Existing entity in Atlas which are not present in Hive, DB wise
> through Import-hive command.
> ---------------------------------------------------------------------------------------------------
>
> Key: ATLAS-4627
> URL: https://issues.apache.org/jira/browse/ATLAS-4627
> Project: Atlas
> Issue Type: Bug
> Reporter: Paresh Devalia
> Assignee: Paresh Devalia
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: ATLAS-4627-6.patch
>
>
> PROBLEM STATEMENT
> Created a DB_1 and DB_2 in Hive and disable the Atlas hook from hive and
> hive_tez.
> Created tables with 10 record in DB_1 and DB_2 .
> In Atlas UI we checked it has no entity created, so we ran import-hive.sh
> bash import-hive.sh -d DB_1 -t table_1, so this command will only create one
> entity in atlas.
> bash import-hive.sh -d DB_1, so this command will create all entity in atlas.
> Drop table_1 from DB_1 and DB_2 in Hive, but will be present in atlas as
> hooks are disable, so we will ran import-hive command to delete from atlas .
> bash import-hive.sh -d DB_1 -t table_1 -deleteNonExisting, this command will
> delete all the table from all DB which are present in Atlas and dropped from
> Hive.
> As we have mention -d and -t argument in command for DB and table wise
> deleting, but still it ran for all DB and Tables.
> h4.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)