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

Column inconsistent in Hive and Atlas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • atlas-core
    • None

    Description

      PROBLEM STATEMENT

      Created a DB_1 in Hive and disable the Atlas hook from hive and hive_tez.
      Created 1 tables with 2 column in DB_1.
      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 with 2 column in atlas.

      Add 3rd column on that table from hive -> ALTER TABLE tableName ADD COLUMNS (columnName int);
      Than we ran import-hive.sh -d DB_1 -t table_1.

      In Atlas UI we checked entity already created, but 3rd column is not added.
      3 column in hive and in atlas only 2 column present.

      Attachments

        Activity

          People

            pareshD Paresh Devalia
            pareshD Paresh Devalia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: