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

Export Process: ChangeMarker Remains Stuck at a Point

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2
    • 0.8.2, 0.8.3, 1.2.0, 2.0.0
    • atlas-core
    • None

    Description

      Pre-requisites

      • Fresh installation of a build. This can be done by truncating atlas_titan and ATLAS_ENTITY_AUDIT_EVENTS tables.
      • Create some entities within Atlas either by 'Create New Entity' UI option or via Beeline/Hive.

      Steps to Duplicate

      • Perform export few times (more than 1) of the created entities using the following options and commands.
      • Observe the server logs (application.log)

      export-options.json

      {
          "itemsToExport": [
              { "typeName": "hdfs_path", "uniqueAttributes": { "path": "/warehouse/hr/" }}
          ],
          "options": {
              "fetchType": "incremental",
              "matchType": "startsWith",
              "skipLineage": true,
              "replicatedTo": "clMain2"
          }
      }
      

      CURL

      curl -X POST -u admin:admin -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d @../docs/export-options-skip-lineage.json http://localhost:21000/api/atlas/admin/export > ../docs/hr-1.zip
      

       

      Expected Results

      Each export operation will display changeMarker with new value.

      Observed Results

      Each export operation displays the same changeMarker value.

      Variation

      Restart Atlas. Perform few exports. The value of changeMarker now changes for each export.

      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