Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
The org.apache.tez.client.TezClient creates a org.apache.hadoop.yarn.client.api.YarnClient to submit an DAG application to cluster but, no apis exist to stop/close the org.apache.hadoop.yarn.client.api.YarnClient object residing inside.
Same is the case with org.apache.tez.client.TezSession which doesn't close the org.apache.hadoop.yarn.client.api.YarnClient object in stop() call.
From sseth:
I think this is just an oversight. The YarnClient created by the TezClient
could also be shared with the DAGClient that is returned after submitting
an application. Eventually, the connection will end up timing out at the
RPC level.