Project

General

Profile

Crunch2 run » History » Version 1

Tom Clegg, 12/15/2015 08:54 PM

1 1 Tom Clegg
h1. Crunch2 run
2
3
This program runs on a worker host. It is invoked by [[Crunch2 dispatch]] (possibly via slurm or ssh). Its responsibilities include:
4
* Retrieve the Container record with the given UUID
5
* Load the specified docker image from Keep
6
* Translate the Container specification to a "docker run" command line
7
* Start arv-mount on the host (if required by the container) and shutting it down when the container exits
8
* Impose runtime constraints, using "docker run" arguments and other facilities
9
* Report resources used by the container while it runs (presumably using crunchstat)
10
* Update the Container record to reflect the actual state of the container (progress/completion)
11
* Forward the container's stderr output to the Arvados API as Log entries (subject to configurable throttle)
12
* Save the container's output in the Container record (if applicable)
13
14
See [[Containers API]]