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

Migration: From 0.8 to latest: Breaks Relationships

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • atlas-core
    • None

    Description

      Steps to Duplicate

      1. Migrate data from 0.8 to latest. E.g. data containing hive db and tables.
      2. In the web UI, use a DSL search like: hive_table db.name="migration_database_8"

      **Expected results: The hive_table with for database migration_database_8 should be displayed.

      **Actual results: No results are displayed. There are exceptions logged on the server-side.

      Root Cause

      As part of implementation of ATLAS-3370, shadow properties were introduced for index type STRING. These need to be set for data that is migrated.

      Solution

      Use patch handler to add these missing types.

      Rationale for the approach: The same problem would be observed when upgrading from version of Atlas post 0.8 but before the change was introduced.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment