Description
Issue: UI throws error on trying to access details of a SUCCEEDED DAG in a RUNNING app.
Cause: Right now we depend on app status to control polling, and its not mandatory for the AM to have details about non-running DAGs run under it. Hence error is thrown on polling AM for old DAG details.
Note:
- Current implementation uses app status as it considers a possible case where DAG could move to SUCCEEDED state and then go back to RUNNING.
- It also presumed the AM to have data about all DAGs run under it.