pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-4384) TezLauncher thread should be deamon thread
Date Fri, 16 Jan 2015 12:36:35 GMT

     [ https://issues.apache.org/jira/browse/PIG-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeff Zhang updated PIG-4384:
----------------------------
    Status: Patch Available  (was: Open)

> 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)

Mime
View raw message