atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zineng Yuan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ATLAS-1318) Atlas Type System does not have DELETE API
Date Thu, 24 Nov 2016 16:50:58 GMT

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

Zineng Yuan commented on ATLAS-1318:
------------------------------------

The beauty of atlas is that it offers a flexible type system which enables users to model
new business processes and data assets with agility.   Although the Hadoop internal data type
should be always intact,  the major concern is a user must have full control on a customized
type since the user is the owner of customized data and all operations must be supported.


Without that being said,  we are working on a solution to offer users flexibility by allowing
user to delete customized type meanwhile prevent users from unexpected operations. 
1.  Add an optional attribute which specifies the type is "customized" data type.
2.  Enforce a Delete request can ONLY go through if a customized type and no data entities
exist. 

By doing this, we enforce users to understand the type system and prevent them from improper
deletion.  Also, this proposal can make current internal types intact without any modification
on current type system definition.

Please review the above solution. If you are fine, I would like to work on it as to contribute
to this community and make it better. 




> Atlas Type System does not have DELETE API
> ------------------------------------------
>
>                 Key: ATLAS-1318
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1318
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Zineng Yuan
>
> I am trying to extend Atlas Type System by adding custom data type. However, when I found
a type name was misspecified and needed to be recreated, I can't find a Restful Delete API.
> Question is does Atlas expose a Delete API for custom data types/attributes? Without
this delete API, it's difficult to rely on Atlas as a meta store to extend custom data.  
> Please do suggest how to recreate a data type in this case. Thank you! 
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message