amahussein opened a new pull request #161: URL: https://github.com/apache/tez/pull/161
TEZ-4349 DAGClient gets stuck with invalid cached DAGStatu The `cachedDagStatus` should be valid for a certain amount of time, or certain number of retires. When the `cachedDAGStatus` expires, the DAGClient tries to pull from AM or the RM. An error in fetching the status from both AM and RM, would return null to the caller. - The expiration time can be configured using `TezConfiguration.TEZ_CLIENT_DAG_STATUS_CACHE_TIMEOUT_MINUTES` `tez.client.dag.status.cache.timeout-minutes`, and the default is 5. The `timeUnit` of the expiration is minutes. - Added a new UT `TestDAGClient.testGetDagStatusWithCachedStatusExpiration` - ran the following unit tests: `mvn test -Dtest=TestDAGClient,TestTezClient,TestMockDAGAppMaster` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@tez.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org