Joal has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/352548 )

Change subject: Update mediawiki history oozie job SLA
......................................................................

Update mediawiki history oozie job SLA

We recently changed the jobs to behave the same way as our usual
traffic jobs: coordinator waits for the full period for data to be
present instead of computing on data already loaded.
This induces a change in SLA, since now we accept to wait one month
plus 5 days for the monthly job instead of just 5 days.

Bug: T164713
Change-Id: I7b3fd20d809b5846685dd2f1ff892f111bff07cd
---
M oozie/mediawiki/history/denormalize/coordinator.xml
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/refinery 
refs/changes/48/352548/1

diff --git a/oozie/mediawiki/history/denormalize/coordinator.xml 
b/oozie/mediawiki/history/denormalize/coordinator.xml
index 27df6ab..3f43efb 100644
--- a/oozie/mediawiki/history/denormalize/coordinator.xml
+++ b/oozie/mediawiki/history/denormalize/coordinator.xml
@@ -145,9 +145,12 @@
             <!--
                 Use action actual time as SLA base, since it's the time used
                 to compute timeout
+                Job is waiting for the month data to be present, then the sqoop
+                happens on the 2nd, so waiting for 5 days after month end 
should
+                be enough.
             -->
             <sla:nominal-time>${coord:actualTime()}</sla:nominal-time>
-            <sla:should-end>${3 * DAYS}</sla:should-end>
+            <sla:should-end>${(coord:current(1) + (5 DAYS)}</sla:should-end>
             <sla:alert-events>end_miss</sla:alert-events>
             <sla:alert-contact>${sla_alert_contact}</sla:alert-contact>
         </sla:info>

-- 
To view, visit https://gerrit.wikimedia.org/r/352548
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b3fd20d809b5846685dd2f1ff892f111bff07cd
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery
Gerrit-Branch: master
Gerrit-Owner: Joal <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to