caoxuewen created ATLAS-3135:
--------------------------------

             Summary: delete null data from typedefs results in messy data
                 Key: ATLAS-3135
                 URL: https://issues.apache.org/jira/browse/ATLAS-3135
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 1.1.0
            Reporter: caoxuewen
             Fix For: 1.1.0


Currently, when we use http://IP:21000/api/atlas/v2/types/typedefs/, deleting 
the data of typedefs is empty 
(\{"enumDefs":[],"structDefs":[],"classificationDefs":[],"entityDefs":[],"relationshipDefs":[]}),
 it will lead to messy data, and basic search error, so the atlas system must 
be restarted in order to recover the data.

Correct data:

!image-2019-04-13-11-40-14-653.png!

!image-2019-04-13-11-40-26-552.png!

 

exec http://IP:21000/api/atlas/v2/types/typedefs/, json data: 
\{"enumDefs":[],"structDefs":[],"classificationDefs":[],"entityDefs":[],"relationshipDefs":[]}

atlas entity data is: (basic search is error)

!image-2019-04-13-11-42-28-808.png!

messy data:

!image-2019-04-13-11-42-36-593.png!

!image-2019-04-13-11-43-27-551.png!



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

Reply via email to