falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sowmya Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1342) Do not allow duplicate properties in cluster entities
Date Wed, 16 Sep 2015 22:26:45 GMT

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

Sowmya Ramesh commented on FALCON-1342:
---------------------------------------

commit e0c08e767c6b55b6e4432518054a097d4aeda717. [~bvellanki]: Thanks for your contribution!

> 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
>             Fix For: 0.8
>
>         Attachments: FALCON-1342-v1.patch, FALCON-1342-v2.patch, FALCON-1342.patch
>
>
> 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)

Mime
View raw message