Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4384

TezLauncher thread should be deamon thread

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.15.0
    • tez
    • None
    • Reviewed

    Description

      The following piece of code would hang there because TezLauncher thread is not deamon thread.

        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");
        }
      

      Attachments

        1. PIG_4384_1.patch
          0.7 kB
          Jeff Zhang

        Activity

          People

            zjffdu Jeff Zhang
            zjffdu Jeff Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: