Ayub Khan created ATLAS-1722: -------------------------------- Summary: Export API returns success, even if one of the items is not successfully imported Key: ATLAS-1722 URL: https://issues.apache.org/jira/browse/ATLAS-1722 Project: Atlas Issue Type: Bug Components: atlas-core Affects Versions: 0.8-incubating Reporter: Ayub Khan Priority: Critical Fix For: trunk, 0.9-incubating
Export API returns success, even if one of the items is not successfully imported, which does not look correct. Example export info showing both DB's export is successful, where are one of the DB is invalid. {noformat} outputs/atlas-export-info.json { "clientIpAddress": "172.27.23.198", "hostName": "10.200.5.18", "metrics": { "duration": 1089, "entity:hive_column": 12, "entity:hive_column_lineage": 4, "entity:hive_db": 2, "entity:hive_process": 4, "entity:hive_storagedesc": 6, "entity:hive_table": 6, "entity:withExtInfo": 16, "typedef:hive_column": 1, "typedef:hive_column_lineage": 1, "typedef:hive_db": 1, "typedef:hive_process": 1, "typedef:hive_storagedesc": 1, "typedef:hive_table": 1 }, "operationStatus": "SUCCESS", "request": { "itemsToExport": [ { "typeName": "hive_db", "uniqueAttributes": { "qualifiedName": "db_dyts4wdsvt@cl1" } }, { "typeName": "hive_db", "uniqueAttributes": { "qualifiedName": "123db_jz1ufmnvxu@cl1" } } ] }, "timeStamp": 1491368866623, "userName": "admin" } {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)