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

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