[
https://issues.apache.org/jira/browse/ATLAS-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharmadha Sainath updated ATLAS-2127:
-------------------------------------
Attachment: hdfs_path1.zip
[~ashutoshm] , Attached a zip file containing an hdfs_path attached to a tag
tag1.
Import_options.json :
{code}
{
"options":{
"updateTypeDefinition":false
}
}
{code}
Steps to reproduce :
Import the zip file into the cluster which doesn't have a tag named tag1 with
import option updateTypeDefinition set to false.
> Import of an entity associated with a tag into backup cluster with
> updateTypeDefinition options set to false
> ------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-2127
> URL: https://issues.apache.org/jira/browse/ATLAS-2127
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 0.9-incubating
> Reporter: Sharmadha Sainath
> Assignee: Ashutosh Mestry
> Attachments: hdfs_path1.zip, ImportExceptionWithTag.txt
>
>
> 1. On cluster1 , created an entity and associated it to a tag.
> 2. Exported the entity into a zipfile.
> 3. cluster2 is in clean state.(i.e no entity / tag is created)
> 4. Tried to import the entity zip into cluster2 with import option
> "updateTypeDefinition" set to false.
> 5. Import failed with NPE.
> Since updateTypeDefinition is set to false , NPE is thrown when the entity is
> attempted to be associated to the tag in the backup cluster.
> This is the expected behavior , but the cause of the issue is not very
> explicit to the end user when Atlas throws NPE.
> Attached the exception stack trace.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)