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

Export/Import - When updateTypeDefinition set to false , new types are not imported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Bug
    • 0.8.1, 1.0.0
    • None
    • atlas-core
    • None

    Description

      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:

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

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

      Attachments

        Activity

          People

            sharmadhas Sharmadha S
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: