atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qinglin,xia (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ATLAS-1862) Cannot Create two entity with the same name
Date Tue, 06 Jun 2017 10:57:18 GMT
qinglin,xia created ATLAS-1862:
----------------------------------

             Summary: Cannot Create two entity with the same name
                 Key: ATLAS-1862
                 URL: https://issues.apache.org/jira/browse/ATLAS-1862
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: trunk, 0.9-incubating
            Reporter: qinglin,xia
         Attachments: create_table_in_hbase.png, delete_hbase_table_1.png, entity_been_deleted.png,
hbase_table_entity.png

When create two entity with the same name, I noticed Atlas is using the update function to
update the same entity but not create two different entity with different GUIDs. 

This is causing a problem that when two hbase table have a column family with the same name,
say HBase Table hbase_table_1 with columnfamily cf1, and HBase Table hbase_table_2 with columnfamily
cf1, when you delete hbase_table_1, the columnfamily cf1 in hbase_table_2 would also be deleted.


Please see the attached pics as a reference, when creating the two tables in hbase, entities
are also created in atlas, then when droping one of the tables(hbase_table_1), the column
family of the other (hbase_table_2) is also deleted, which in fact should not be deleted since
it's hbase_table_2's own column family. 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message