[ 
https://issues.apache.org/jira/browse/ATLAS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Madhan Neethiraj updated ATLAS-1909:
------------------------------------
    Fix Version/s: 1.0.0

> Import/Export : Exception while using "transforms" option during import
> -----------------------------------------------------------------------
>
>                 Key: ATLAS-1909
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1909
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Sharmadha Sainath
>            Assignee: Ashutosh Mestry
>            Priority: Blocker
>             Fix For: 1.0.0
>
>         Attachments: Import_transforms_error.txt
>
>
> 1. Created a table t5 in cluster1.
> 2. Created the export zip file for table t5 on firing export API on cluster1.
> 3. Created the t5transforms.json file 
> {code}
> {
>   "options": {
>    "transforms": {
>     "hive_table": {
>       "qualifiedName": [
>         "replace:@cl1:@cl2"
>       ]
>     }
>       }
>     }
>   }
> {code}
> 4.Fired import API on cluster2 using curl call :
> {code}
> curl -v -g -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H 
> "Cache-Control: no-cache" -F request=@t5transforms.json -F data=@t5.zip 
> "http://cluster2:21000/api/atlas/admin/import";
> {code}
> Request failed with 500 Internal server error and the following message :
> {code}
> {"errorCode":"ATLAS-500-00-001","errorMessage":"org.apache.atlas.exception.AtlasBaseException:
>  java.lang.NullPointerException"}
> {code}
> Attached the complete exception stack trace found in cluster2's  application 
> logs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to