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

[Hive import v2] deleteNonExisting is not honoured when used with v2 api

    XMLWordPrintableJSON

Details

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

    Description

      Scenario:

      Perform import using v2 api by using deleteNonExisting

      Steps:

      1. Create a db 
      2. Create 2 tables in that db
      3. Perform an import
      4. Verify the tables are reflected in atlas
      5. Drop the table
      6. Perform an import with deleteNonExisting
      7. command: export JAVA_HOME=/usr/java/default; /opt/cloudera/parcels/CDH/lib/atlas/hook-bin/import-hive.sh -d db_hive_db_jwics -deleteNonExisting -o /tmp/db_wetbq.zip

      Problem:

      Here deleteNonExisting is not honoured when used in the V2 api and the dropped table's status is still active in Atlas

      Attachments

        Activity

          People

            Unassigned Unassigned
            dharshmk Dharshana M Krishnamoorthy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: