Ottomata has submitted this change and it was merged.

Change subject: Name refinery drop cron jobs accordingly
......................................................................


Name refinery drop cron jobs accordingly

Change-Id: I77a807f3241c06d46f61e10db79bda94dc976203
---
M manifests/role/analytics/refinery.pp
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/manifests/role/analytics/refinery.pp 
b/manifests/role/analytics/refinery.pp
index 6e7a7d0..11e8f1e 100644
--- a/manifests/role/analytics/refinery.pp
+++ b/manifests/role/analytics/refinery.pp
@@ -74,7 +74,7 @@
 
     # keep this many days of raw data
     $raw_retention_days = 31
-    cron { 'refinery-drop-webrequest-partitions':
+    cron { 'refinery-drop-webrequest-raw-partitions':
         command => "export 
PYTHONPATH=\${PYTHONPATH}:${role::analytics::refinery::path}/python && 
${role::analytics::refinery::path}/bin/refinery-drop-webrequest-partitions -d 
${raw_retention_days} -D wmf_raw -l /wmf/data/raw/webrequest -w raw >> 
${log_file} 2>&1",
         user    => 'hdfs',
         minute  => '15',
@@ -83,7 +83,7 @@
 
     # keep this many days of refined data
     $raw_retention_days = 62
-    cron { 'refinery-drop-webrequest-partitions':
+    cron { 'refinery-drop-webrequest-refined-partitions':
         command => "export 
PYTHONPATH=\${PYTHONPATH}:${role::analytics::refinery::path}/python && 
${role::analytics::refinery::path}/bin/refinery-drop-webrequest-partitions -d 
${refined_retention_days} -D wmf -l /wmf/data/wmf/webrequest -w refined >> 
${log_file} 2>&1",
         user    => 'hdfs',
         minute  => '45',

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I77a807f3241c06d46f61e10db79bda94dc976203
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>
Gerrit-Reviewer: Ottomata <[email protected]>

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

Reply via email to