mapreduce

module
v0.0.0-...-13bbb49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2020 License: MIT

README

MapReduce

Build Status License

MapReduce is a kind of programming model for processing large scale data sets in a distributed fashion inside machine cluster. The core idea behind MapReduce is to map your data sets into a collection of {key, value} pairs, and then to reduce over all pairs with the same key.

mapreduce

Get Started

Prerequisites
  • OS: Linux
  • Golang: v1.12+
Installation
Clone
Setup
# build the plugin
cd apps && make build
# build the binary
cd .. && make build
# start the master service
./mapreduce-master-service --conf=conf/master_conf.json --level=info
# start the worker-1 service
./mapreduce-worker-service --conf=conf/worker_1_conf.json --level=info

# start the worker-2 service
./mapreduce-worker-service --conf=conf/worker_2_conf.json --level=info

# start the worker-3 service
./mapreduce-worker-service --conf=conf/worker_3_conf.json --level=info
Example
# add task
curl -XPOST -d \
    '{"task": {"inputs": ["/path/to/input-1.txt", "/path/to/input-2.txt", "/path/to/input-3.txt"]}}' \
    http://localhost:18180/v1/task

Documentation

Api Design

Reference

Contributing

Step 1
  • 🍴 Fork this repo!
Step 2
  • 🔨 HACK AWAY!
Step 3

FAQ

  • refer to FAQ.

Support

License

  • This project is licensed under the MIT License - see the MIT license for details.

Directories

Path Synopsis
Package api is a reverse proxy.
Package api is a reverse proxy.
backend
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL