Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #109766

Re: which library has map reduce and how to use it for this case

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Selik <michael.selik@gmail.com>
Newsgroups comp.lang.python
Subject Re: which library has map reduce and how to use it for this case
Date Thu, 09 Jun 2016 22:44:47 +0000
Lines 17
Message-ID <mailman.127.1465512300.2306.python-list@python.org> (permalink)
References <1ca428db-ea39-4964-a662-df2701580bd2@googlegroups.com> <CAGgTfkMoKVP-8=thaZKsYx1KVn_cgwLPjgjt0_g5NtOMebGx5Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de K5EbLuRPtYiPrzhEI4Ik/wOT+fgKyfXiNi1MmwnPTmsA==
Return-Path <michael.selik@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:library': 0.09; 'subject:which': 0.09; 'url:github': 0.09; 'python': 0.10; 'thu,': 0.15; '...]': 0.16; '2016': 0.16; 'pairs': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:case': 0.16; 'url:yelp': 0.16; 'wrote:': 0.16; 'email addr:gmail.com&gt;': 0.18; 'input': 0.18; 'to:2**1': 0.21; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'message-id:@mail.gmail.com': 0.27; 'record': 0.29; 'code': 0.30; 'run': 0.33; 'extract': 0.33; 'received:google.com': 0.35; 'subject:use': 0.35; 'received:209.85': 0.36; 'data.': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'associated': 0.38; 'received:209': 0.38; 'data': 0.39; 'does': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'subject:this': 0.85
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZUdrYdpmMUv34ETif1iAFTq4qYDJTj53t3WuH432Jnc=; b=VdUfQrQJ/hYlon+6tfOMvWWh0+cltifYfbeVGnZfLUJDR70qkefZ98qbEPHrmuTGge MRVcoHg/hJn+g/63ga9MB1/DCRUY6kb84g1Asuc7A8SDDSqodY467nKA8RWrag3LqJg7 kUsZDrhIjpY1Yt1qZj2mXGCnN7o/jDxYyI0RA2W/093JFyClCmt9VeCW3/AGawKx4p7F ugAks+MZuKCK09UCval0+kN/J4WELjIie7e8a9T7eXm72nL2AS7mvzzuQ9ZVbmqwMcs8 m7+5ws+4puqDi608fF50cfa9p28zE75UIE9SOjFSj9Ml+GgfmaaXA4M0b8UN5flaoqkA Nf3g==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ZUdrYdpmMUv34ETif1iAFTq4qYDJTj53t3WuH432Jnc=; b=aO/uIJl9ofqnD64/lXfW5tTcTbEEPo6Fjz4C7X0Cw9lP4AIIUUHnrGfkst4dfw7FLH Eafi7trQe8Bb2hbTcQEmQ1gsBABee4fgNnvXz/Jz9J9SWNataSxynIEJcT4sUJHtWJed eNwILMoCsw2/OAn9iuyJBElmqsx2Bf18gCkzAdT3Mjn++OHni4ImoTiJiPyhBLSrWfs1 5fyxvl86TqNYA39GttBuNbb5qN/WOzgDkH+29g2V1mErAW7BzMgD7Hu8z/H1BMCAZuZj Q5N1L/us557X2aLbJY6I987/p29tY7glxse9r380ChWjE51LWXYLA3q1LG/fXXZXsr77 VNCQ==
X-Gm-Message-State ALyK8tJg2jww4p31dVDmWDunDnMgKTvnlZwvO/+1stt9zwc76otVVuO02SryOSFQs3eZaHHQycDL97y7UEHTFA==
X-Received by 10.140.40.239 with SMTP id x102mr3615807qgx.93.1465512297301; Thu, 09 Jun 2016 15:44:57 -0700 (PDT)
In-Reply-To <1ca428db-ea39-4964-a662-df2701580bd2@googlegroups.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <CAGgTfkMoKVP-8=thaZKsYx1KVn_cgwLPjgjt0_g5NtOMebGx5Q@mail.gmail.com>
X-Mailman-Original-References <1ca428db-ea39-4964-a662-df2701580bd2@googlegroups.com>
Xref csiph.com comp.lang.python:109766

Show key headers only | View raw


I like using Yelp's mrjob module (https://github.com/Yelp/mrjob) to run
Python on Hadoop.

On Thu, Jun 9, 2016 at 2:56 AM Ho Yeung Lee <davidbenny2000@gmail.com>
wrote:

> [... a bunch of code ...]


If you want to describe a map-reduce problem, start with the data. What
does a record of your input data look like?

Then think about your mapper. What key-value pairs will you extract from
each line of data?

Then think about your reducer. For a single key and its associated values,
what will you calculate?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

which library has map reduce and how to use it for this case Ho Yeung Lee <davidbenny2000@gmail.com> - 2016-06-08 23:52 -0700
  Re: which library has map reduce and how to use it for this case Michael Selik <michael.selik@gmail.com> - 2016-06-09 22:44 +0000
    Re: which library has map reduce and how to use it for this case Ho Yeung Lee <davidbenny2000@gmail.com> - 2016-06-09 18:07 -0700
      Re: which library has map reduce and how to use it for this case Michael Selik <michael.selik@gmail.com> - 2016-06-10 14:03 +0000
        Re: which library has map reduce and how to use it for this case meInvent bbird <jobmattcon@gmail.com> - 2016-06-10 23:19 -0700
          Re: which library has map reduce and how to use it for this case Michael Selik <michael.selik@gmail.com> - 2016-06-11 16:44 +0000

csiph-web