Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MapReduce Intro and Data Thoughts

MapReduce Intro and Data Thoughts

MapReduce disco/hadoop discussion and concluding thoughts and data analysis with humans and machines. Data and IPython notebooks at: https://github.com/ContinuumIO/tutorials

Avatar for Benjamin Zaitlen

Benjamin Zaitlen

March 14, 2013

Other Decks in Programming

Transcript

  1. What is Large Data? • Can’t fit into Excel •

    Increase Memory Thursday, March 14, 13
  2. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R Thursday, March 14, 13
  3. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R • Increase Memory Thursday, March 14, 13
  4. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R • Increase Memory • Can’t fit into Memory Thursday, March 14, 13
  5. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R • Increase Memory • Can’t fit into Memory • Increase Memory Thursday, March 14, 13
  6. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R • Increase Memory • Can’t fit into Memory • Increase Memory • Can’t fit on a single disk Thursday, March 14, 13
  7. What is Large Data? • Can’t fit into Excel •

    Increase Memory • Can’t fit into R • Increase Memory • Can’t fit into Memory • Increase Memory • Can’t fit on a single disk • Distributed Filesystem: SAN, HDFS/DDFS, AWS: S3, Redshift, etc. Thursday, March 14, 13
  8. MapReduce • A mass of data: records Framework to help

    solve the problem of distributed computation for distributed data Thursday, March 14, 13
  9. MapReduce • A mass of data: records • Split/Map records

    into key-values pairs Framework to help solve the problem of distributed computation for distributed data Thursday, March 14, 13
  10. MapReduce • A mass of data: records • Split/Map records

    into key-values pairs • Collect/Partition kv pairs (Optional Sort) Framework to help solve the problem of distributed computation for distributed data Thursday, March 14, 13
  11. MapReduce • A mass of data: records • Split/Map records

    into key-values pairs • Collect/Partition kv pairs (Optional Sort) • Buckets are passed to Reduce function Framework to help solve the problem of distributed computation for distributed data Thursday, March 14, 13
  12. MapReduce • A mass of data: records • Split/Map records

    into key-values pairs • Collect/Partition kv pairs (Optional Sort) • Buckets are passed to Reduce function • Result is returned Framework to help solve the problem of distributed computation for distributed data Thursday, March 14, 13
  13. MapReduce Workflow • Push code to data • Lots of

    network traffic Thursday, March 14, 13
  14. MapReduce it’s a Party • Disco: Python + Erlang •

    Hadoop: Java-Dumbo (Python Streaming) Thursday, March 14, 13
  15. MapReduce it’s a Party • Disco: Python + Erlang •

    Hadoop: Java-Dumbo (Python Streaming) • Distributed FileSystem: DDFS Thursday, March 14, 13
  16. MapReduce it’s a Party • Disco: Python + Erlang •

    Hadoop: Java-Dumbo (Python Streaming) • Distributed FileSystem: DDFS • Bring your friends • NumPy • SciPy • pandas • scikits-learn • OpenCV Thursday, March 14, 13
  17. MapReduce Thoughts • Data Cleansing • Everyone’s pain point •

    Task Deconstruction • Good for code management • Hides -- in a good way -- data management Thursday, March 14, 13
  18. MapReduce Thoughts • Data Cleansing • Everyone’s pain point •

    Task Deconstruction • Good for code management • Hides -- in a good way -- data management • Can Be Inefficient • Network traffic • Job organization Thursday, March 14, 13
  19. Google Get’s Wrong • Typically, prediction is great! • This

    year not so much • Google: No comment! • Feedback mechanism from hype-up media Thursday, March 14, 13
  20. Wrapping Up • Invisible Gorillas will stay invisible • Turnkey

    analytics is dangerous • Good Analysis • Requires iterative exploration • Peer review and collaboration Thursday, March 14, 13