You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/01 09:34:52 UTC
[jira] [Commented] (FALCON-2272) Extension update succeeds while it
is disabled
[ https://issues.apache.org/jira/browse/FALCON-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848171#comment-15848171 ]
ASF GitHub Bot commented on FALCON-2272:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/falcon/pull/351
> Extension update succeeds while it is disabled
> ----------------------------------------------
>
> Key: FALCON-2272
> URL: https://issues.apache.org/jira/browse/FALCON-2272
> Project: Falcon
> Issue Type: Bug
> Components: extensions
> Affects Versions: trunk
> Reporter: Pragya Mittal
> Assignee: sandeep samudrala
> Fix For: trunk
>
>
> {noformat}
> pragya.mittal@falcon1001:~$ falcon extension -disable -extensionName extension-example
> Status of extension: extension-examplechanged to disabled state state.
> {noformat}
> {noformat}
> pragya.mittal@falcon1001:~$ fepdef sample3-ProcessRecipe-test
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <process name="sample3-ProcessRecipe-test" version="0" xmlns="uri:falcon:process:0.1">
> <tags>_falcon_extension_name=extension-example,_falcon_extension_job=sample3</tags>
> <pipelines>testSample1</pipelines>
> <clusters>
> <cluster name="local" version="0">
> <validity start="2017-01-31T06:00Z" end="2017-01-31T12:00Z"/>
> </cluster>
> </clusters>
> <parallel>1</parallel>
> <order>FIFO</order>
> <frequency>minutes(3)</frequency>
> <timezone>UTC</timezone>
> <inputs>
> <input name="inputData" feed="sample3-input-feed" start="now(0,0)" end="now(0,0)"/>
> </inputs>
> <outputs>
> <output name="outputData" feed="sample3-output-feed" instance="now(0,5)"/>
> </outputs>
> <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/ExtensionTest/aggregator"/>
> <retry policy="periodic" delay="minutes(3)" attempts="3"/>
> <ACL owner="dataqa" group="dataqa" permission="*"/>
> </process>
> {noformat}
> Updating the extension to change process frequency from minutes(3) to minutes(5) should fail as extension is disabled. But it succeeds.
> {noformat}
> pragya.mittal@falcon1001:~$ falcon extension -update -extensionName extension-example -jobName sample3 -file abc
> Updated successfully
> {noformat}
> New process definition is :
> {noformat}
> pragya.mittal@falcon1001:~$ fepdef sample3-ProcessRecipe-test
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <process name="sample3-ProcessRecipe-test" version="0" xmlns="uri:falcon:process:0.1">
> <tags>_falcon_extension_name=extension-example,_falcon_extension_job=sample3</tags>
> <pipelines>testSample1</pipelines>
> <clusters>
> <cluster name="local" version="0">
> <validity start="2017-01-31T06:00Z" end="2017-01-31T12:00Z"/>
> </cluster>
> </clusters>
> <parallel>1</parallel>
> <order>FIFO</order>
> <frequency>minutes(5)</frequency>
> <timezone>UTC</timezone>
> <inputs>
> <input name="inputData" feed="sample3-input-feed" start="now(0,0)" end="now(0,0)"/>
> </inputs>
> <outputs>
> <output name="outputData" feed="sample3-output-feed" instance="now(0,5)"/>
> </outputs>
> <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/ExtensionTest/aggregator"/>
> <retry policy="periodic" delay="minutes(3)" attempts="3"/>
> <ACL owner="dataqa" group="dataqa" permission="*"/>
> </process>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)