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

github.com/MichalPitr/map_reduce

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/MichalPitr/map_reduce

  • v0.0.0-20240428210657-9df27456b528
  • Source
  • Go
  • Socket score

Version published
Created
Source

Map Reduce

Usage

Run master:

first build and push docker image. Mapper and Reducer jobs rely on pulling this image from container registry. Make sure to update the script to push to your own registry.

sh build_image.sh

then,

go run main.go --mode master --image <image> --input-dir /mnt/nfs/input/ --nfs-path /mnt/nfs/

For debugging, you can run mapper and reducer locally:

go run main.go --mode=mapper --input-dir /mnt/nfs/input --output-dir /mnt/nfs/job-test/ --file-range book-0-40
go run main.go --mode=reducer --reducer-id <id> --job-id <job-id> --nfs-path <nfs-mount-folder>

FAQs

Package last updated on 28 Apr 2024

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