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/09/06 02:16:28 UTC

[jira] [Updated] (OOZIE-1995) Allow the wait tool to act as an argument when (re)running jobs

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

Robert Kanter updated OOZIE-1995:
---------------------------------
    Description: 
The poll command is currently only an action and lets you do something like this: {noformat}oozie job -poll <job_id> [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}

However, it's convenient to be able to also be able to do something like this:
{noformat}oozie job -config <job.properties> -run -poll [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}
The problem is that in the first case, {{-poll}} takes an argument, but in the second case, it does not; so getting this to parse correctly will require some trickery.  We had a similar problem before with {{-dryrun}} in OOZIE-1878, but in both cases it did not take an argument, so it was a little easier.  We'd want to support this for {{-run}} and {{-rerun}}.

  was:
The poll command is currently only an action and lets you do something like this: {noformat}oozie job -poll <job_id> [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}

However, it's convenient to be able to also be able to do something like this:
{noformat}oozie job -config <job.properties> -run -poll [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}
The problem is that in the first case, {{-poll}} takes an argument, but in the second case, it does not; so getting this to parse correctly will require some trickery.  We had a similar problem before with {{-dryrun}} in OOZIE-1878, but in both cases it did not take an argument, so it was a little easier.


> Allow the wait tool to act as an argument when (re)running jobs
> ---------------------------------------------------------------
>
>                 Key: OOZIE-1995
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1995
>             Project: Oozie
>          Issue Type: Sub-task
>          Components: core
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>
> The poll command is currently only an action and lets you do something like this: {noformat}oozie job -poll <job_id> [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}
> However, it's convenient to be able to also be able to do something like this:
> {noformat}oozie job -config <job.properties> -run -poll [-timeout <timeout>] [-interval <interval>] [-verbose]{noformat}
> The problem is that in the first case, {{-poll}} takes an argument, but in the second case, it does not; so getting this to parse correctly will require some trickery.  We had a similar problem before with {{-dryrun}} in OOZIE-1878, but in both cases it did not take an argument, so it was a little easier.  We'd want to support this for {{-run}} and {{-rerun}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)