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

Behavior change in Atlas API to get Atlas Server object during metadata replication

    XMLWordPrintableJSON

Details

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

    Description

      There is a change being noticed in the Atlas server API used during atlas metadata replication in hive.
      Earlier the API: '/api/atlas/admin/server/cl1' where 'cl1' is the cluster name, used to work.
      Now, it doesn't work any more. This Api is used during replication to get the changeMarker info.
      Now the API works with some thing called server name which is 'default' by default.
      Also, now the prerequisite is to at least have one export or import API call in order to get this 'default' initialized.
      The change-marker is obtained prior to invoking export and hence the all policy is bound to fail unless we mandate calling Export or Import API outside hive replication once to get this object initialized, even if hive uses 'default' in the call.

       

      Root cause

      We switched from using

      atlas.cluster.name

      to

      atlas.metadata.namespace

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: