hpcugent / hanythingondemand

hanythingondemand provides a set of scripts to easily set up an ad-hoc Hadoop cluster through PBS jobs
https://hod.readthedocs.org
GNU General Public License v2.0
12 stars 6 forks source link

implement wait and control thread #153

Open boegel opened 8 years ago

boegel commented 8 years ago

implement a control thread; wait should then act upon it

quote by @ehiggs:

Python doesn't really do threading so it's not really clear what advantage there would be here.
But basically when the cluster is up and running, hod should check for events.
This can be listening on a socket (security?) or checking a directory for the presence of control files (egad).