Coder Social home page Coder Social logo

Dockerized Map Reduce about pachyderm HOT 1 CLOSED

pachyderm avatar pachyderm commented on September 21, 2024
Dockerized Map Reduce

from pachyderm.

Comments (1)

jdoliner avatar jdoliner commented on September 21, 2024

This feature is underway and schedule to ship in v0.3. You can track progress here.

The API for this right now works (or is going to work) as follows:

# Creating a job
curl -XPOST pfs/job/foo -d '{"input" : ["inputDir", "parentJob"], "container" : "jdoliner/container", "command" : ["/usr/bin/webserver", "arg1", "arg2"]}'
# Checking the status of a job being run on <commit>
curl -XGET pfs/job/foo/status?commit=<commit>
# Accessing output from a job
curl -XGET pfs/job/foo/file/bar

Once jobs are created via a post to /job they will automatically be kicked off following the next commit to the branch they were created on.

After the initial commit jobs will be rerun any time new data is committed that changes the input to the job.

Jobs currently consist of a piece of JSON with 3 fields "input", "container" and "command". "container" and "command" are used in a call to docker run to spin up the webserver that documents are passed through. "input" defines which documents should be passed to the server. Input can either be directories from the raw filesystem or output from other jobs. Pfs will automatically schedule jobs based on their dependency on one another.

from pachyderm.

Related Issues (20)

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.