O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

How Does MapReduce Work? map(k1, Getting Started on Hadoop

21.259 visualizações

Publicada em

How Does MapReduce Work?

map(k1, v1) → list(k2, v2)
reduce(k2, list(v2)) → list(v3)

Several phases, which partition a problem into many tasks:
• load data into DFS…
• map phase: input split → (key, value) pairs, with optional combiner
• shuffle phase: sort on keys to group pairs… load-test your network!
• reduce phase: each task receives the values for one key
• pull data from DFS…
NB: “map” phase is required, the rest are optional.
Think of set operations on tuples (and check out Cascading.org).
Meanwhile, given all those (key, value) pairs listed above, it’s no
wonder that key/value stores have become such a popular topic of

Publicada em: Tecnologia
  • Seja o primeiro a comentar