Git Product home page Git Product logo

cs6065-mapreduce-streaming-in-hadoop's Introduction

MapReduce Streaming in Hadoop

CS6065 Intro to Cloud Computing Homework 4

Cloned from University of Cincinnati's git site, https://github.uc.edu/

Assignment Outline: https://docs.google.com/document/d/1MM6fuwN84iHzwZJ92D6z13jnVvwnAtnqoFEduTaNH6A/

Example Output

mathstats.sh:
>> ./mathstats.sh /data/numbers/small.txt output
...
>> hadoop fs -cat /user/<username>/output/part-00000
Count  	10
Sum  		70909325
Prime  	0

>> ./mathstats.sh /data/numbers/medium.txt output2
...
>> hadoop fs -cat /user/<username>/output2/part-00000
Count  	1234567
Sum  		6172269075
Prime  	312437

>> ./mathstats.sh /data/numbers output3
...
>> hadoop fs -cat /user/<username>/output3/part-00000
Count  	40224475
Sum  		194921459755704
Prime  	5767703


sentenceLength.sh:
>> ./sentenceLength.sh /data/books/TSEliiot.txt eliot
...
>>hadoop fs -cat /user/<username>/eliot
SentenceCount	507
AvgSentenceLength	35.433

>> ./sentenceLength.sh /data/books/TheCountofMonteCristo.txt thecount
...
>>hadoop fs -cat /user/<username>/thecount
SentenceCount	27039
AvgSentenceLength	56.779

>> ./sentenceLength.sh /data/books allbooks
...
>>hadoop fs -cat /user/<username>/allbooks
SentenceCount	473153
AvgSentenceLength	49.257

cs6065-mapreduce-streaming-in-hadoop's People

Contributors

schatzsr 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.