You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Sharmadha Sainath (JIRA)" <ji...@apache.org> on 2017/07/20 13:12:00 UTC

[jira] [Created] (ATLAS-1970) Export/Import - When updateTypeDefinition set to false , new types are not imported

Sharmadha Sainath created ATLAS-1970:
----------------------------------------

             Summary: Export/Import - When updateTypeDefinition set to false , new types are not imported
                 Key: ATLAS-1970
                 URL: https://issues.apache.org/jira/browse/ATLAS-1970
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 0.9-incubating, 0.8.1-incubating
            Reporter: Sharmadha Sainath
            Priority: Critical
         Attachments: ImportFailureDueToUnknownType.txt

Import has option "updateTypeDefinition" which is used to update the type definitions in the backup cluster (cluster on which import is done) when the value is set to true. (Default is set to true). When its value is set to false , types in backup cluster are not updated with types present in exported zip file.

This works fine when , say a type type1 is present in both clusters , an entity of type type1 is exported and imported into backup cluster with updateTypeDefinition is set to false - Import is done successfully and type is not updated.

When the zip file contains type5 *which is not present in backup cluster* and the when import is fired , import fails with following exception:

{code}
{"errorCode":"ATLAS-500-00-001","errorMessage":"org.apache.atlas.exception.AtlasBaseException: Type ENTITY with name type5 does not exist"}
{code}

Attached the complete exception stack trace found in backup cluster's application logs. 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)