You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2014/08/27 19:57:58 UTC

[jira] [Updated] (OOZIE-1567) Provide a wait tool in Oozie

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

Robert Kanter updated OOZIE-1567:
---------------------------------

    Attachment: OOZIE-1567.patch

The new patch adds a new {{poll}} command to the CLI that lets you specify a Job ID (workflow, coord, or bundle), and optionally a timeout, interval, and quiet mode.  Normally, it will print out the current status at every poll; setting quiet mode tells it not to, which I figure is good for scripting.  

As before, I'm not sure that this can be practically unit tested, but I did try it out manually.

> Provide a wait tool in Oozie
> ----------------------------
>
>                 Key: OOZIE-1567
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1567
>             Project: Oozie
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 4.0.0
>            Reporter: Viji
>            Assignee: Robert Kanter
>            Priority: Trivial
>         Attachments: OOZIE-1567.patch, OOZIE-1567.patch
>
>
> Currently, in situations where a program has to wait to check wether an oozie workflow is successful or not, it is done by constantly pinging the oozie workflow status (that is, manual scripts need to be written). It would be good if Oozie provided a {{oozie wait -jobID <JOBID>}} or similar.



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