[ https://issues.apache.org/jira/browse/PIG-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Zhang updated PIG-4384: ---------------------------- Attachment: PIG_4384_1.patch > 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 > Attachments: PIG_4384_1.patch > > > 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)