You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sarath Subramanian (JIRA)" <ji...@apache.org> on 2018/03/06 03:31:00 UTC

[jira] [Created] (ATLAS-2480) Regression,Tag Propagation : Deleting the table with lineage and tag

Sarath Subramanian created ATLAS-2480:
-----------------------------------------

             Summary: Regression,Tag Propagation : Deleting the table with lineage and tag
                 Key: ATLAS-2480
                 URL: https://issues.apache.org/jira/browse/ATLAS-2480
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 1.0.0
            Reporter: Sarath Subramanian
            Assignee: Sarath Subramanian
             Fix For: 1.0.0


1. Created an Hive table t1 and added tag tag1 to it.
2. Created a CTAS table t1_ctas from t1. 
3.Now tag1 is associated to both t1 and t1_ctas.
4.Now dropped the table t1 . 
Following exception is seen in application logs :
{code}
java.lang.IllegalArgumentException: Invalid edge label propagated:tag1: expected 2 or 3 label components but found 1
{code}

Attached the complete exception stack trace.

In following cases , the exception is not seen and works correctly:
1. Dropping a table associated to tag
2.Dropping the source table which has relationship with other table (CTAS)
3.Dropping t1_ctas table in the above scenario

Only when the table is source of relationship and has tags , this exception is seen.

The issue is not seen in BETA-1 versions.

CC : [~ssubramanian]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)