Skip to content
This repository has been archived by the owner on Aug 29, 2019. It is now read-only.
/ madoop Public archive

Matsuo Hadoop -- BBVC (Browser-Based Voluntary Computing) based on MapReduce model with WebAssembly Technology

License

Notifications You must be signed in to change notification settings

h-matsuo/madoop

Folders and files

NameName
Last commit message
Last commit date
Sep 30, 2018
May 2, 2018
Sep 30, 2018
Sep 30, 2018
May 4, 2018
Sep 3, 2018
Sep 4, 2018
Apr 27, 2018
Jul 3, 2018
Dec 4, 2018
Dec 4, 2018
Jul 19, 2018

Repository files navigation

Madoop

Matsuo Hadoop

BBVC (Browser-Based Voluntary Computing) based on MapReduce model with WebAssembly Technology.

Install

$ npm install git+ssh://[email protected]/h-matsuo/madoop.git

How to use

import * as madoop from 'madoop';

class MyInputData extends madoop.AbstractInputData {
  // write here
}

class MyMapper extends madoop.AbstractMapper {
  // write here
}

class MyReducer extends madoop.AbstractReducer {
  // write here
}

const job = new madoop.Job('sample');
const m = new madoop.Madoop();

job.setInputData(new MyInputData());
job.setMapper(new MyMapper());
job.setReducer(new MyReducer());
job.setCallbackWhenCompleted(result => {
  console.log(result);
});
m.setJob(job);
m.run();

See sample directory for more details.

About

Matsuo Hadoop -- BBVC (Browser-Based Voluntary Computing) based on MapReduce model with WebAssembly Technology

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published