caskdata/cdap — pull request #488 by chtyim (2014-09-26 19:33:31+00:00)
Title: Fix the race condition between program stop and program status check and start.

- They should be using the same way to check if a program is running

Also some code refactoring to make the code cleaner
Plus a concurrency bug fix in getting program status for MR in workflow