You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2015/01/16 13:23:35 UTC
[jira] [Created] (PIG-4384) TezLauncher thread should be deamon
thread
Jeff Zhang created PIG-4384:
-------------------------------
Summary: TezLauncher thread should be deamon thread
Key: PIG-4384
URL: https://issues.apache.org/jira/browse/PIG-4384
Project: Pig
Issue Type: Bug
Affects Versions: 0.15.0
Reporter: Jeff Zhang
Assignee: Jeff Zhang
The following piece of code would hang there because TezLauncher thread is not deamon thread.
{code}
public static void main(String[] args) throws IOException,
InterruptedException {
FileSystem fs = FileSystem.get(new Configuration());
fs.delete(new Path("/tmp/output"), true);
PigServer pig = new PigServer(new TezExecType());
pig.registerScript("scripts/test.pig");
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)