Rahul Kurup created ATLAS-3479:
----------------------------------

             Summary: Incorrect audit entries for some data imported from 
custom zip file into Atlas through curl command
                 Key: ATLAS-3479
                 URL: https://issues.apache.org/jira/browse/ATLAS-3479
             Project: Atlas
          Issue Type: Bug
            Reporter: Rahul Kurup
         Attachments: image-2019-10-18-19-33-34-497.png, 
image-2019-10-18-19-40-48-060.png, repl_exp_1.zip

When I tried to import a zip file containing hive entities into Atlas (attached 
below), I noticed that for some of the hive data, the descriptions for the 
audit entries were incorrect.

 

The curl command I ran was as follows:
{code:java}
curl -g -X POST -u admin:admin -H "Content-Type: multipart/form-data" -H 
"Cache-Control: no-cache" -F data=@repl_exp_1.zip 
"http://localhost:21000/api/atlas/admin/import"{code}
 

For example, the entry for the db that was imported was shown as 'Entity 
Updated' instead 'Entity Created'.

!image-2019-10-18-19-33-34-497.png|width=479,height=209!

 

Out of the three hive tables that were imported, one of them showed "Entity 
Updated" instead of "Entity Created"

 

!image-2019-10-18-19-40-48-060.png|width=481,height=206!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to