Changeset [f7290e81c6f456f8102ca3db6caa5ed09bedb8f3] by Shayan Pooya

January 14th, 2014 @ 07:58 AM

Make the job coordinator a system process.

The reason the job coordinator was not a system process before was that
it's terminate would have been called when its parent (the http request
handler) finished. This is not an erlang bug, the behaviour is explained
in this mail thread:
http://erlang.org/pipermail/erlang-questions/2005-January/013943.html
and in this stack overflow answer:
http://stackoverflow.com/a/7753788/830681

The solution is linking the http handler from the newly created child.
https://github.com/discoproject/disco/commit/f7290e81c6f456f8102ca3...

Committed by Shayan Pooya

  • M master/src/job_coordinator.erl
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Disco is an open-source implementation of the Map-Reduce framework for distributed computing. As the original framework, Disco supports parallel computations over large data sets on unreliable cluster of computers.

Shared Ticket Bins