Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
There are several defects in Org.Apache.REEF.Client.Common.IJobSubmissionResult needs to be improved:
- It contains fields work for YARN only - FinalState, AppId, which does not serve the purpose of abstraction of different runtimes - YARN, Local, Azure Batch.
- In the runtime of Azure Batch, there is no capability of connecting to driver directly. Abstraction of DriverUrl as string needs to be improved.
In its implementation JobSubmissionResult, several problems noticed:
- Retry handling that serves for all runtime is using YARN retry policy.
- IREEFClient instance passed in to get YARN state.
- Several unused methods needs to be cleaned up.
- WaitForDriverToFinish() will generate WebException if Driver task is completed and HTTP server is closed.