Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/poncem91/map-reduce

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/poncem91/map-reduce

  • v0.0.0-20210306202721-f1867dc533c1
  • Source
  • Go
  • Socket score

Version published
Created
Source

MapReduce

My implementation of MapReduce based on the paper "MapReduce: Simplified Data Processing on Large Clusters" by Jeffrey Dean Sanjay Ghemawat (2004).

Sample applications that use MapReduce provided by MIT's 6.824 course are located in the /mrapps directory. For example, to run sample WordCount application with my MapReduce implementation:

cd main
go build -race -buildmode=plugin ../mrapps/wc.go
rm mr-*

Then in one terminal run the coordinator:

cd main
go run -race mrcoordinator.go text/pg-*.txt

And in different terminals run the workers:

cd main
go run -race mrworker.go wc.so

Once the tasks are all done, the output will be in mr-out-* and the sorted union of the output files can be observed by executing:

cat mr-out-* | sort | more

Test Script

To run the test script:

cd main
sh test-mr.sh

Acknowledgement

My work is in the /mr directory. Every other file was provided by MIT's 6.824 course.

FAQs

Package last updated on 06 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc