Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F31631069
raw.txt
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
EBernhardson
Feb 25 2020, 11:23 PM
2020-02-25 23:23:03 (UTC+0)
Size
542 B
Referenced Files
None
Subscribers
None
raw.txt
View Options
OOZIE_URL="http://an-coord1001.eqiad.wmnet:11000/oozie"
COORD_ID="$((oozie jobs -oozie $OOZIE_URL -jobtype coordinator -filter name=query_clicks_hourly-coord;status=RUNNING) | awk '/RUNNING/ { print $1 }')"
echo "Coordinator: $COORD_ID"
FAILED="$(oozie job -oozie $OOZIE_URL -info $COORD_ID -filter "status=KILLED" | awk '/KILLED/ {print $8 "T" $9 "Z"}')"
echo "$FAILED"
if [ -z "$FAILED" ]; then
echo "All good"
else
echo "$FAILED" | while read date; do
oozie job -oozie $OOZIE_URL -rerun $COORD_ID -date $date
done
fi
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8328204
Default Alt Text
raw.txt (542 B)
Attached To
Mode
P10525 fix-oozie.sh
Attached
Detach File
Event Timeline
Log In to Comment