I am writing a multi-step mrjob. The first step does some pre-processing and ends with the following reducer:
def some_reducer(self, key, values):
values = (int (value) for value in values)
if key == 'iwantthiskey':
//I want to pass sum(values) as a parameter to the next step
I've tried going through the documentation and experimented with adding passthrough options or adding values to self.jobconf(), but I couldn't figure it out. Any help would be appreciated.