You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pallavi Rao (JIRA)" <ji...@apache.org> on 2017/02/01 09:37:51 UTC

[jira] [Resolved] (FALCON-2270) Extension job details returns incomplete response

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

Pallavi Rao resolved FALCON-2270.
---------------------------------
       Resolution: Fixed
    Fix Version/s: trunk

Issue resolved by pull request 355
[https://github.com/apache/falcon/pull/355]

> Extension job details returns incomplete response
> -------------------------------------------------
>
>                 Key: FALCON-2270
>                 URL: https://issues.apache.org/jira/browse/FALCON-2270
>             Project: Falcon
>          Issue Type: Bug
>          Components: extensions
>    Affects Versions: trunk
>            Reporter: Pragya Mittal
>            Assignee: Pallavi Rao
>             Fix For: trunk
>
>
> {noformat}
> pragya.mittal@falcon1001:~$ falcon extension -detail -jobName sample1
> {
>  "jobName": "sample1",
>  "extensionName": "extension-example",
>  "feeds": {
>    "name": "sample1-output-feed",
>    "status": "EXISTS"
>  },
>  "processes": {
>    "name": "sample1-ProcessRecipe-test",
>    "status": "EXISTS"
>  },
>  "creationTime": "Tue Jan 31 06:58:29 GMT 2017",
>  "lastUpdatedTime": "Tue Jan 31 06:58:29 GMT 2017",
>  "location": "hdfs://192.168.138.236:8020/tmp/extensions/extension-example",
>  "type": "Custom extension"
> }
> {noformat}  
> sample1-input-feed is missing
> Following is the extension job process definition :
> {noformat}
> pragya.mittal@falcon1001:~$ fepdef sample1-ProcessRecipe-test
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <process name="sample1-ProcessRecipe-test" xmlns="uri:falcon:process:0.1">
>    <tags>_falcon_extension_name=extension-example,_falcon_extension_job=sample1</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="sample1-input-feed" start="now(0,0)" end="now(0,0)"/>
>    </inputs>
>    <outputs>
>        <output name="outputData" feed="sample1-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)