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

Azrael commented on OOZIE-1779:
-------------------------------

The patch include:
* Add {{parentid}} to filter option.
* Reuse {{StoreStatusFilter.filter()}} method to generate queryString for 
getting all job info(WF, COORD, BUNDLE) so that the duplicated/obsolete code 
removed. ([OOZIE-1927])

In Coordinator, bundleId is used as a parentId.
{code}
$ oozie jobs -jobtype=coord 
-filter='frequency=1;unit=minutes;parentid=0000001-140808135001948-oozie-seoe-B';

$ oozie jobs 
-filter='status=SUCCEEDED;parentid=0000001-140808134032729-oozie-seoe-C@1';
{code}

> Add parent-id as a filter option
> --------------------------------
>
>                 Key: OOZIE-1779
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1779
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Mona Chitnis
>            Priority: Minor
>             Fix For: trunk
>
>         Attachments: OOZIE-1779.1.patch
>
>
> Currently filtering options on jobs list are
> name, user, group, status, frequency and time-unit. 
> With increasing usage of coordinators and bundles, adding parent-id should be 
> useful instead of always searching top-down from parent to child.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to