Code Monkey home page Code Monkey logo

homework4-cunywang's Introduction

DATA622 HW #4

  • Assigned on October 25, 2018
  • Due on October 14, 2018 11:59 PM EST
  • 15 points possible, worth 15% of your final grade

Instructions:

Use the two resources below to complete both the critical thinking and applied parts of this assignment.

  1. Listen to all the lectures in Udacity's Intro to Hadoop and Mapreduce course.

  2. Read Hadoop A Definitive Guide Edition 4, Part I Chapters 1 - 3.

Critical Thinking (10 points total)

Submit your answers by modifying this README.md file.

  1. (1 points) What is Hadoop 1's single point of failure and why is this critical? How is this alleviated in Hadoop 2?

  2. (2 points) What happens when a data node fails?

  3. (1 point) What is a daemon? Describe the role task trackers and job trackers play in the Hadoop environment.

  4. (1 point) Why is Cloudera's VM considered pseudo distributed computing? How is it different from a true Hadoop cluster computing?

  5. (1 point) What is Hadoop streaming? What is the Hadoop Ecosystem?

  6. (1 point) During a reducer job, why do we need to know the current key, current value, previous key, and cumulative value, but NOT the previous value?

  7. (3 points) A large international company wants to use Hadoop MapReduce to calculate the # of sales by location by day. The logs data has one entry per location per day per sale. Describe how MapReduce will work in this scenario, using key words like: intermediate records, shuffle and sort, mappers, reducers, sort, key/value, task tracker, job tracker.

Applied (5 points total)

Submit the mapper.py and reducer.py and the output file (.csv or .txt) for the first question in lesson 6 for Udacity. (The one labelled "Quiz: Sales per Category") Instructions for how to get set up is inside the Udacity lectures.

homework4-cunywang's People

Contributors

sunwsusan avatar cunywang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.