Rerun a co-ordinator job from the command line
<p>My scheduler ran a oozie co-ordinator job successfully. I can see the co-ordinator ID in the web ui and from my command line I can also do</p>

<pre><code>oozie job --oozie http://foo.com:11000/oozie/ -info 0119337-160219063120217-oozie-oozi-C
</code></pre>

<p>This prints a bunch of stuff on the command line regarding the previous run.</p>

<p>Now I want to run this on demand so I give the command </p>

<pre><code>oozie job --oozie http://foo:11000/oozie/ -rerun 0119337-160219063120217-oozie-oozi-C
</code></pre>

<p>Now it gives an error </p>

<pre><code>Error: Invalid options provided for rerun: date or action expected.
</code></pre>

<p>So I try</p>

<pre><code>oozie job --oozie http://foo.com:11000/oozie/ -rerun 0119337-160219063120217-oozie-oozi-C -date "2016-03-14 00:00:00"

Error: E0302 : E0302: Invalid parameter [2016-03-14 00:00:00]
</code></pre>

<p>I also tried </p>

<pre><code>oozie job --oozie http://vtqaana-clouderamgr01.dealer.ddc:11000/oozie/ -rerun 0119337-160219063120217-oozie-oozi-C -action 18
</code></pre>

<p>Now it says</p>

<pre><code>Error: E1018 : E1018: Coord Job Rerun Error: part or all actions are not eligible to rerun!
</code></pre>

<p>So no matter what I do... oozie will not let me rerun my co-ordinator job.</p>

<p>Here is the screenshot of my job</p>

<p><a href="https://i.stack.imgur.com/tjTjh.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tjTjh.gif" alt="enter image description here"></a></p>

<p>I want to rerun it from the beginning using the command line.</p>