This PR is to solve the problems of tf workers hang when chief has been finished and other bugs.
For example, tensorflow estimator training job will include some roles of ps/worker/evaluator/chief. Actually, due to the bug of tensorflow or misusing the estimator api, sometimes evaluator will hang. So if we use the configuration as follows, when evaluator is still running after timeout and chief and workers are all finished, the mechanism of dependency group timeout will make job failed.
Conf as follows, the evaluator will be alive 3600(sec) after workers and chief are all finished.
So, this PR introduce the conf of tony.application.group.{GROUP_NAME}={JOB_TYPES} and tony.application.dependency.{JOB_TYPE}.timeout.after.{GROUP_NAME} = 3600
Besides, due to tensorflow bug, sometimes the workers will hang after the chief finished. We could use above conf to solve it. The worker will be alive 3600(sec) after chief finished.
This PR is to solve the problems of tf workers hang when chief has been finished and other bugs.
For example, tensorflow estimator training job will include some roles of ps/worker/evaluator/chief. Actually, due to the bug of tensorflow or misusing the estimator api, sometimes evaluator will hang. So if we use the configuration as follows, when evaluator is still running after timeout and chief and workers are all finished, the mechanism of dependency group timeout will make job failed.
Conf as follows, the evaluator will be alive 3600(sec) after workers and chief are all finished.
So, this PR introduce the conf of
tony.application.group.{GROUP_NAME}={JOB_TYPES}
andtony.application.dependency.{JOB_TYPE}.timeout.after.{GROUP_NAME} = 3600
Besides, due to tensorflow bug, sometimes the workers will hang after the chief finished. We could use above conf to solve it. The worker will be alive 3600(sec) after chief finished.