šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.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
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