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:[email protected]] Sent: Monday, September 08, 2014 3:35 PM To: [email protected] Subject: Re: Tez local mode non-daemon thread Hi Chris Are you using Session or not? Chen On Mon, Sep 8, 2014 at 5:14 PM, Chris K Wensel <[email protected]> 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 > [email protected] > http://concurrentinc.com > > -- CONFIDENTIALITY NOTICE 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.
