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 2017/07/11 14:07:00 UTC

[jira] [Commented] (ATLAS-1939) Export/Import Regression : NPE during import

    [ https://issues.apache.org/jira/browse/ATLAS-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082249#comment-16082249 ] 

Ashutosh Mestry commented on ATLAS-1939:
----------------------------------------

[~ssainath] The Import API now accepts multi-part data. Please see the updated documentation.

This is what will work:
{code:java}
curl -g -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H "Cache-Control: no-cache" -F data=@salesNewTypeAttrs.zip "http://localhost:21000/api/atlas/admin/import"
{code}


> Export/Import Regression : NPE during import
> --------------------------------------------
>
>                 Key: ATLAS-1939
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1939
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.9-incubating
>            Reporter: Sharmadha Sainath
>            Priority: Blocker
>         Attachments: Import_NPE.txt
>
>
> Exported a hive_table and created zip file t5.zip and tried to import in into another cluster using
> {code}
> curl -v -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H "Cache-Control: no-cache" --data-binary @t5.zip "http://host2:21000/api/atlas/admin/import"
> {code}
> Import Request failed with 500 internal server error with NPE in application logs.
> Attached the exception stack trace.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)