You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ajay Yadava (JIRA)" <ji...@apache.org> on 2015/08/28 13:58:46 UTC

[jira] [Updated] (FALCON-1342) Do not allow duplicate properties in cluster entities

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

Ajay Yadava updated FALCON-1342:
--------------------------------
    Fix Version/s:     (was: 0.7)

> Do not allow duplicate properties in cluster entities
> -----------------------------------------------------
>
>                 Key: FALCON-1342
>                 URL: https://issues.apache.org/jira/browse/FALCON-1342
>             Project: Falcon
>          Issue Type: Sub-task
>          Components: general
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>
> When specifying properties for a cluster, this is currently allowed,
> {code}
> <properties>
>         <property name="test" value="value1"/>
>         <property name="test" value="value2"/>
> </properties>
> {code}
> The propeties are stored as an array of org.apache.falcon.entity.v0.cluster.Property, and cluster.getProperty("test") will return either "value1" or "value2" but not both. If falcon does not support multiple values for same property key,  parsing such an entity should throw an error. 



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