atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qinglin,xia (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ATLAS-1779) When creating entities with array attribute, multiple entities would refer to the same array reference with the same name
Date Sun, 04 Jun 2017 09:54:04 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

qinglin,xia reassigned ATLAS-1779:
----------------------------------

    Assignee: Xinzhi,Luo

> When creating entities with array attribute, multiple entities would refer to the same
array reference with the same name  
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1779
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1779
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 0.7-incubating
>            Reporter: qinglin,xia
>            Assignee: Xinzhi,Luo
>         Attachments: QQ截图20170511173640.png, refer1.png, refer2.png, table1.png,
table2.png
>
>
> Steps to Reproduce: 
> 1. Create a hbase_table Type with a attribute's data type set to array<hbase_column_family>
> " hierarchicalMetaTypeName ":"org.apache.atlas.typesystem.types.ClassTy
> pe",
> " typeName ":"hbase_table",
> " typeDescription ":null,
> " attributeDefinitions ":[
> {
> " name ":"columnFamilies",
> " dataTypeName ":"array<hbase_column_family>",
> " multiplicity ":"collection",
> " isComposite ":true,
> " isUnique ":false,
> " isIndexable ":true,
> }]
> 2. create two entities of the hbase_table, naming "frontsurf" and "table6666666"
> 3. set the attribute columnFamilies of hbase_table to the same hbase_column_family ->
"column_family"
> Expected Result: 
> the table1 and table2 entity would refer to different hbase_column_family entity
> Actual Result: 
> 1. The table1 and table2 entity refer to the same hbase_column_family entity with the
same GUID
> 2. This issue would coz the fact that I cannot delete table1 because table2 also has
the hbase_column_family entity "column_familly"
> PS: Screenshots as attached. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message