tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bikas Saha <bi...@hortonworks.com>
Subject RE: Tez local mode non-daemon thread
Date Mon, 08 Sep 2014 23:33:20 GMT
Ideally, application shutdown should end up stopping this thread on a clean
shutdown. However if the test fails and stops for some other reason then
this thread being non-daemon would be a problem.

Yes, it should probably be made daemon. Please open a jira for this.

-----Original Message-----
From: Chen He [mailto:airbots@gmail.com]
Sent: Monday, September 08, 2014 3:35 PM
To: dev@tez.apache.org
Subject: Re: Tez local mode non-daemon thread

Hi Chris

Are you using Session or not?


On Mon, Sep 8, 2014 at 5:14 PM, Chris K Wensel <chris@wensel.net> wrote:

> Should this thread be a daemon thread?
> https://github.com/apache/tez/blob/branch-0.5.0/tez-dag/src/main/java/
> org/apache/tez/dag/app/rm/LocalTaskSchedulerService.java#L157-157
> I believe this currently prevents an app running in local mode from
> exiting unless System.exit is called.
> ckw
> --
> Chris K Wensel
> chris@concurrentinc.com
> http://concurrentinc.com

NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

View raw message