Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.4.1
-
None
-
None
-
Reviewed
Description
In TezSession.submitDAG() we could first check if the session is ready and throw a SessionNotRunning exception if that is not the case. This should be done before processing the DAG and thus will prevent unnecessary modification of the DAG.
If the session is ready then we can submit the DAG as usual. Higher level components already handle SessionNotRunning exception.