You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tez.apache.org by Subroto Sanyal <sa...@gmail.com> on 2014/06/10 09:46:49 UTC

TezClient doesn't stops/close YarnClient

Hi

The org.apache.tez.client.TezClient creates
a org.apache.hadoop.yarn.client.api.YarnClient to submit an DAG application
to cluster but,  found no apis to stop/close
the org.apache.hadoop.yarn.client.api.YarnClient object residing inside.

Is it intended or am I missing something ?

-- 
Cheers,
*Subroto Sanyal*

Re: TezClient doesn't stops/close YarnClient

Posted by Subroto Sanyal <sa...@gmail.com>.
Thanks Siddharth,

I have created the ticket:
https://issues.apache.org/jira/browse/TEZ-1203

TezSession is also having the same problem.


On Tue, Jun 10, 2014 at 7:31 PM, Siddharth Seth <ss...@apache.org> wrote:

> 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. Again, could you please create a jira.
>
>
> On Tue, Jun 10, 2014 at 12:46 AM, Subroto Sanyal <sa...@gmail.com>
> wrote:
>
> > Hi
> >
> > The org.apache.tez.client.TezClient creates
> > a org.apache.hadoop.yarn.client.api.YarnClient to submit an DAG
> application
> > to cluster but,  found no apis to stop/close
> > the org.apache.hadoop.yarn.client.api.YarnClient object residing inside.
> >
> > Is it intended or am I missing something ?
> >
> > --
> > Cheers,
> > *Subroto Sanyal*
> >
>



-- 
Cheers,
*Subroto Sanyal*

Re: TezClient doesn't stops/close YarnClient

Posted by Siddharth Seth <ss...@apache.org>.
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. Again, could you please create a jira.


On Tue, Jun 10, 2014 at 12:46 AM, Subroto Sanyal <sa...@gmail.com>
wrote:

> Hi
>
> The org.apache.tez.client.TezClient creates
> a org.apache.hadoop.yarn.client.api.YarnClient to submit an DAG application
> to cluster but,  found no apis to stop/close
> the org.apache.hadoop.yarn.client.api.YarnClient object residing inside.
>
> Is it intended or am I missing something ?
>
> --
> Cheers,
> *Subroto Sanyal*
>