[
https://issues.apache.org/jira/browse/FALCON-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pragya Mittal updated FALCON-1726:
----------------------------------
Summary: Entity name char limit is not honoured in falcon (was: Entity
name char limit is not honoured in falcon.)
> Entity name char limit is not honoured in falcon
> ------------------------------------------------
>
> Key: FALCON-1726
> URL: https://issues.apache.org/jira/browse/FALCON-1726
> Project: Falcon
> Issue Type: Bug
> Components: client
> Affects Versions: 0.9
> Reporter: Pragya Mittal
>
> All entity XSD in Falcon limit name of entity to 40 chars. Ideally user
> should not be able to submit and schedule entities with name longer than 40
> chars. But that is not being honoured as of now. Any length of name can be
> submitted and scheduled to falcon.
> Example :
> Process definition is :
> {noformat}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <process
> name="ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-agregator-coord16-e10db9f5"
> xmlns="uri:falcon:process:0.1">
> <clusters>
> <cluster
> name="ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-corp-0b56e1d4">
> <validity start="2016-01-05T11:22Z" end="2016-01-05T11:32Z"/>
> </cluster>
> </clusters>
> <parallel>4</parallel>
> <order>FIFO</order>
> <frequency>minutes(1)</frequency>
> <timezone>UTC</timezone>
> <properties>
> <property name="queueName" value="default"/>
> <property name="fileTime"
> value="${formatTime(dateOffset(instanceTime(), 1, 'DAY'), 'yyyy-MMM-dd')}"/>
> <property name="user" value="${user()}"/>
> </properties>
> <workflow
> path="/tmp/falcon-regression/ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest/aggregator"/>
> <retry policy="periodic" delay="minutes(3)" attempts="3"/>
> <ACL owner="pragya" group="dataqa" permission="*"/>
> </process>
> {noformat}
> Entity status is :
> {noformat}
> dataqa@lda01:~$ fep -name
> ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-agregator-coord16-e10db9f5
> -status
> ua1/COMPLETED
> {noformat}
> Instances are created :
> {noformat}
> dataqa@lda01:~$ fip -name
> ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-agregator-coord16-e10db9f5
> -status -start 2016-01-05T11:22Z -end 2016-01-05T11:24Z
> Consolidated Status: SUCCEEDED
> Instances:
> Instance Cluster SourceCluster Status
> Start End Details Log
> -----------------------------------------------------------------------------------------------
> 2016-01-05T11:23Z
> ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-corp-0b56e1d4
> - SUCCEEDED 2016-01-05T11:33Z 2016-01-05T11:33Z -
> http://lda01:11000/oozie?job=0001234-160104115615658-oozie-oozi-W
> actions:
> hdfscommands OK -
> aggregator SUCCEEDED
> http://lda01:8088/proxy/application_1451903998946_1913/
> 2016-01-05T11:22Z
> ProcessWfTestProcessWfTestProcessWfTestProcessWfTestProcessWfTest-corp-0b56e1d4
> - SUCCEEDED 2016-01-05T11:33Z 2016-01-05T11:33Z -
> http://lda01:11000/oozie?job=0001232-160104115615658-oozie-oozi-W
> actions:
> hdfscommands OK -
> aggregator SUCCEEDED
> http://lda01:8088/proxy/application_1451903998946_1912/
> Additional Information:
> Response: ua1/STATUS
> Request Id: ua1/1046283705@qtp-1816147548-26 -
> a0d57e43-27bf-44fa-a64c-87d2c10cf025
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)