From cc480586625d463638e7e87bf3f7b2b06c167e7c Mon Sep 17 00:00:00 2001 From: Arash Rouhani Date: Wed, 14 Jun 2017 02:43:11 +0200 Subject: [PATCH] Fix reducer argument in pastebin exercise (#85) --- solutions/system_design/pastebin/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/system_design/pastebin/README.md b/solutions/system_design/pastebin/README.md index 19a3587e..eee29264 100644 --- a/solutions/system_design/pastebin/README.md +++ b/solutions/system_design/pastebin/README.md @@ -218,7 +218,7 @@ class HitCounts(MRJob): period = self.extract_year_month(line) yield (period, url), 1 - def reducer(self, key, value): + def reducer(self, key, values): """Sum values for each key. (2016-01, url0), 2