atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Mestry (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ATLAS-1909) Import/Export : Exception while using "transforms" option during import
Date Wed, 16 May 2018 23:28:00 GMT

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

Ashutosh Mestry resolved ATLAS-1909.
------------------------------------
    Resolution: Fixed

> 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
>         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)

Mime
View raw message