Code Monkey home page Code Monkey logo

ds--map-reduce-'s Introduction

DS--Map-Reduce-

Assignment 2 Mapreduce multi threading

Part One

This part involves finding three large PDF files and converting them to text using easypdf.com The three large PDFS that were found were :

  • The Three Musketeers
  • The Odyssey
  • the count of monte cristo

Part Two

This involves parsing the input from the files and removing any special characters. The output of this step leaves the files with words and spaces

Part Three

This step involves setting up timers for the different phases in the Map Reduce Algorithm. It is used to test how long in milliseconds each phase takes and outputs the statisticsat the end

Part Four

This involves modifying the mapping phase in order to create threads per the number of lines in the files. The code accepts a fourth command line argument which is the number of lines per thread.

Part Five

This involves modifying the reduce phase in order to create threads per the number of words. Another command line argument is accepted which determies the number of words per thread. It creates the appropriate amount of threads and calls the reduce method on them.

Part Six

This involves testing the code generated to see which combination of lines per thread and words per thread provide the best results.

ds--map-reduce-'s People

Contributors

soph1ia avatar mohamedmoustafanuig avatar

Watchers

James Cloos avatar  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.