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

2022-09-14 Thread Paresh Devalia (Jira)


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

Paresh Devalia commented on ATLAS-4627:
---

Patch in [review board|https://reviews.apache.org/r/74036/]

> 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
> 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)


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

2022-09-14 Thread Paresh Devalia (Jira)


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

Paresh Devalia commented on ATLAS-4627:
---

Patch inĀ  [https://reviews.apache.org/r/74036/ |review board]

> 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
> 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)


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

2022-09-08 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4627:


Commit 4ac9ae6b2a2a858f811713aa7a268c81fe53471e in atlas's branch 
refs/heads/branch-2.0 from pareshD
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=4ac9ae6b2 ]

ATLAS-4627 : Delete Existing entity in Atlas which are not present in Hive, DB 
wise through Import-hive command.

Signed-off-by: Pinal Shah 
(cherry picked from commit 3a98f1fc98dfcfabf9a19b5d43c8d61e8e696390)


> 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
>
> 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)


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

2022-09-08 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on ATLAS-4627:


Commit 3a98f1fc98dfcfabf9a19b5d43c8d61e8e696390 in atlas's branch 
refs/heads/master from pareshD
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=3a98f1fc9 ]

ATLAS-4627 : Delete Existing entity in Atlas which are not present in Hive, DB 
wise through Import-hive command.

Signed-off-by: Pinal Shah 


> 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
>
> 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)