Ashutosh Mestry created ATLAS-2909:
--------------------------------------
Summary: Export Process: ChangeMarker Remains Stuck at a Point
Key: ATLAS-2909
URL: https://issues.apache.org/jira/browse/ATLAS-2909
Project: Atlas
Issue Type: Bug
Components: atlas-core
Affects Versions: 0.8.2
Reporter: Ashutosh Mestry
Assignee: Ashutosh Mestry
Fix For: 0.8.3, 0.8.2
*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_
{code:java}
{
"itemsToExport": [
{ "typeName": "hdfs_path", "uniqueAttributes": { "path":
"/warehouse/hr/" }}
],
"options": {
"fetchType": "incremental",
"matchType": "startsWith",
"skipLineage": true,
"replicatedTo": "clMain2"
}
}
{code}
CURL
{code:java}
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
{code}
*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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)