Ayush Nigam created ATLAS-3189:
----------------------------------

             Summary: Issue with Deletes
                 Key: ATLAS-3189
                 URL: https://issues.apache.org/jira/browse/ATLAS-3189
             Project: Atlas
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Ayush Nigam
         Attachments: Screen Shot 2019-05-02 at 9.59.10 PM.png, Screen Shot 
2019-05-02 at 9.59.24 PM.png

Hi,

We currently have a hive model in Atlas(with no data),we tried to delete it by 
curl request,

curl -negotiate -u admin:admin -X DELETE -H 'Content-Type: application/json' -H 
'Accept: application/json' "http:/localhost:21001/api/atlas/v2/types/typedefs" 
-d "@./1030-hive_model.json"

Above request was successful and after that we repopulated the new model with 
one attribute deleted from hive_db and made code changes accordingly.

 

But then while running hive bridge we found that entities in basic search UI 
are not there while they are present in Advanced search.While digging deeper we 
found out that docs are itself not created in Solr/Elasticsearch while indexes 
are present.

We tried this approach with other models too,but the issues persists.

So to reproduce the bug.
 * Delete a model by Curl command(Clear any data before deleting the model if 
present)
 * Re post the model by curl command with some attribute deleted.
 * Populate the data

  

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to