-
Notifications
You must be signed in to change notification settings - Fork 8
/
mapreduce.yaml
89 lines (81 loc) · 2.42 KB
/
mapreduce.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
mapreduce:
#- name: Rebuild Crash Signatures
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.rebuild_signatures
# params:
# - name: entity_kind
# default: receive_ankicrashes.CrashReport
# - name: shard_count
# value: 1
#
#- name: Delete All Bugs
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.delete_bugs
# params:
# - name: entity_kind
# default: receive_ankicrashes.Bug
#
#- name: Delete Duplicate Signatures
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.delete_duplicates
# params:
# - name: entity_kind
# default: receive_ankicrashes.CrashReport
#- name: Fix Timestamps for Crashes
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.fix_crash_ts
# params:
# - name: entity_kind
# default: receive_ankicrashes.CrashReport
#- name: Recalc Bug Counts
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.recalc_counts_on_bugs
# params:
# - name: entity_kind
# default: receive_ankicrashes.Bug
#- name: Recalc Version Counts
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.recalc_counts_on_vesions
# params:
# - name: entity_kind
# default: receive_ankicrashes.AppVersion
#- name: Delete Auto-Feedback
# mapper:
# input_reader: mapreduce.input_readers.DatastoreInputReader
# handler: mapper.delete_auto_feedback
# params:
# - name: entity_kind
# default: receive_ankicrashes.Feedback
- name: Generate tasks for Crashes Export
mapper:
input_reader: mapreduce.input_readers.DatastoreInputReader
handler: mapper.gen_crash_export
params:
- name: entity_kind
default: receive_ankicrashes.CrashReport
- name: shard_count
value: 1
- name: Generate tasks for Bugs Export
mapper:
input_reader: mapreduce.input_readers.DatastoreInputReader
handler: mapper.gen_bug_export
params:
- name: entity_kind
default: receive_ankicrashes.Bug
- name: shard_count
value: 1
- name: Generate tasks for Feedbacks Export
mapper:
input_reader: mapreduce.input_readers.DatastoreInputReader
handler: mapper.gen_feedback_export
params:
- name: entity_kind
default: receive_ankicrashes.Feedback
- name: shard_count
value: 1