[jira] [Created] (ATLAS-4627) Delete Existing entity in Atlas which are not present in Hive, DB wise through Import-hive command.

2022-06-21 Thread Paresh Devalia (Jira)
Paresh Devalia created ATLAS-4627:
-

 Summary: 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


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.7#820007)


[GitHub] [atlas] BurakAltas closed pull request #184: Bug fix/meta 3037 pending tasks

2022-06-21 Thread GitBox


BurakAltas closed pull request #184: Bug fix/meta 3037 pending tasks
URL: https://github.com/apache/atlas/pull/184


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [atlas] BurakAltas closed pull request #184: Bug fix/meta 3037 pending tasks

2022-06-21 Thread GitBox


BurakAltas closed pull request #184: Bug fix/meta 3037 pending tasks
URL: https://github.com/apache/atlas/pull/184


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org