You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Srikanth Sundarrajan (JIRA)" <ji...@apache.org> on 2014/09/02 04:10:21 UTC

[jira] [Commented] (FALCON-580) Mandate date pattern for the feed path in the xsd

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

Srikanth Sundarrajan commented on FALCON-580:
---------------------------------------------

What are the effects of not mandating the pattern to be present ? I had considered originally maintaining a property at feed level to indicate if it is time based on not, but haven't actually felt a need for it till now. Wanted to avoid the complexity associated with that additional property on the feed. Depending on what problems you are facing by not having the time part on the feed, we can discuss the way forward.

> Mandate date pattern for the feed path in the xsd
> -------------------------------------------------
>
>                 Key: FALCON-580
>                 URL: https://issues.apache.org/jira/browse/FALCON-580
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Sowmya Ramesh
>
>  The granularity of date pattern in the feed path should be atleast that of a frequency of a feed. This should be mandated in the feed xsd.
> e.g.: 
> {noformat}
> Valid format: <location type="data" path="/hdfsDataLocation/${YEAR}/${MONTH}/${DAY}/${HOUR}/${MINUTE}"/>
> Invalid format: <location type="data" path="/hdfsDataLocation"/>
> {noformat}



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