script to rerun Oozie workflow submitted by Hue for Cloudera system
-
Login to the server that Oozie installed
-
switch user to hue
sudo su -s /bin/bash hue
-
clone
git clone https://github.com/peepeepopapapeepeepo/oozie_rerun.git
-
Login to the server that Oozie installed
-
switch user to hue
sudo su -s /bin/bash hue
-
go to installtion directory
cd oozie_rerun
-
run this script
./oozie_rerun <list|rerun> "<Coordinator Name>" "<since datetime in format yyyy-MM-dd'T'HH:mm'Z' e.g. 2019-01-01T00:00Z>"
Note
list
= list all unsuccessful workflowis for a certain coordinatorrerun
= rerun all unsuccessful workflows for a certain coordinator