Skip to content
/ URLCount Public

URLCount is an example MapReduce program using KeyValueTextInputFormat with space separator

Notifications You must be signed in to change notification settings

dbist/URLCount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URLCount MapReduce Example

this example reads in key as text and value as int, sums every value according to key
Tested on: Sandbox 2.3.2
Compiled with Hortonworks HDP 2.3.0
use included input file as dataset
execute the job like so:
yarn jar URLCount-1.0-jar-with-dependencies.jar data output
output looks like so:
http://url1.com 523
http://url11.com        4
http://url12.com        36
http://url20.com        36

About

URLCount is an example MapReduce program using KeyValueTextInputFormat with space separator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages