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

Sharmadha Sainath commented on ATLAS-1939:
------------------------------------------

[~ashutoshm]
I am trying basic import without any option.
{code}
curl -v -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H 
"Cache-Control: no-cache" -F [email protected] 
"http://localhost:21000/api/atlas/admin/import";
{code}

Still it fails with NPE.[^Import_error_NPE2.txt]

But if used with options , import works fine

{code}
curl -v -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H 
"Cache-Control: no-cache" -F [email protected] 
"http://localhost:21000/api/atlas/admin/import"; -F [email protected]
{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_error_NPE2.txt, 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)

Reply via email to