Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1862

Cannot Create two entity with the same name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0, trunk
    • None
    • atlas-core

    Description

      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.

      Attachments

        1. entity_been_deleted.png
          30 kB
          qinglin,xia
        2. delete_hbase_table_1.png
          7 kB
          qinglin,xia
        3. hbase_table_entity.png
          45 kB
          qinglin,xia
        4. create_table_in_hbase.png
          15 kB
          qinglin,xia

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xiaqinglin qinglin,xia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: