Giter VIP home page Giter VIP logo

maplejuice's Introduction

CS425-ECE428-MP2

How to run the program

Download

git clone https://gitlab.engr.illinois.edu/zchang8/cs425-ece428-mp.git targetDir

cd into mp4

cd cs425-ece428-mp/mp4

Start Sever

before starting the MapleJuice program, build functions for go plugin


go build -buildmode=plugin -o wc_map.so wc_map.go 
go build -buildmode=plugin -o wc_reduce.so wc_reduce.go 
go build -buildmode=plugin -o rwl_map.so rwl_map.go 
go build -buildmode=plugin -o rwl_reduce.so rwl_reduce.go 

start server at each machine so that we can use the distributed log querier to querier logfiles at each machine

go run SDFS.go membership.go util.go mapleJuice.go

execute Maple (map)

maple_exe: which application to run, wc (wordcound) or rwl (reverse web link)
num_workers: how many workers to execute the tasks, must be smaller or equal to 10
prefix: the prefix for sdfs_intermediate file
sdfs_src_folder: src input folder, must already exists on the sdfs

4 <maple_exe> <num_workers> <prefix> <sdfs_src_folder>

execute Juice (reduce)

juice_exe: which application to run, wc (wordcound) or rwl (reverse web link)
num_workers: how many workers to execute the tasks, must be smaller or equal to 10
prefix: the prefix for sdfs_intermediate file, which would be used as the input files for juice tasks
dest_filename: name of the final output file with all the result

2 <juice_exe> <num_workers> <prefix> <dest_filename>

maplejuice's People

Contributors

f1mm avatar

Watchers

 avatar

maplejuice's Issues

License ?

Hello, under what license is this project released under ? I would like to study it to learn from it. It seems like a great project to learn from. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.