You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (JIRA)" <ji...@apache.org> on 2018/05/16 23:28:00 UTC
[jira] [Assigned] (ATLAS-1909) Import/Export : Exception while
using "transforms" option during import
[ https://issues.apache.org/jira/browse/ATLAS-1909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Mestry reassigned ATLAS-1909:
--------------------------------------
Assignee: Ashutosh Mestry
> 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)