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)

Reply via email to