Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2080D200B2A for ; Sat, 25 Jun 2016 18:53:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F08F160A66; Sat, 25 Jun 2016 16:53:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 68841160A49 for ; Sat, 25 Jun 2016 18:53:41 +0200 (CEST) Received: (qmail 94474 invoked by uid 500); 25 Jun 2016 16:53:40 -0000 Mailing-List: contact commits-help@beam.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.incubator.apache.org Delivered-To: mailing list commits@beam.incubator.apache.org Received: (qmail 94465 invoked by uid 99); 25 Jun 2016 16:53:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 16:53:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2051D1A5DB4 for ; Sat, 25 Jun 2016 16:53:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.446 X-Spam-Level: X-Spam-Status: No, score=-5.446 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5sOWHNZ38Jbp for ; Sat, 25 Jun 2016 16:53:38 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with SMTP id DB8AE5FABF for ; Sat, 25 Jun 2016 16:53:37 +0000 (UTC) Received: (qmail 92737 invoked by uid 99); 25 Jun 2016 16:53:37 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2016 16:53:37 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3D0FC2C14E1 for ; Sat, 25 Jun 2016 16:53:37 +0000 (UTC) Date: Sat, 25 Jun 2016 16:53:37 +0000 (UTC) From: "Daniel Halperin (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (BEAM-330) Maven exec warning message on Dataflow WordCount Example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Jun 2016 16:53:42 -0000 [ https://issues.apache.org/jira/browse/BEAM-330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Halperin updated BEAM-330: --------------------------------- Fix Version/s: 0.2.0-incubating > Maven exec warning message on Dataflow WordCount Example > -------------------------------------------------------- > > Key: BEAM-330 > URL: https://issues.apache.org/jira/browse/BEAM-330 > Project: Beam > Issue Type: Bug > Components: examples-java > Reporter: Scott Wegner > Assignee: Scott Wegner > Priority: Minor > Fix For: 0.2.0-incubating > > > When running the WordCount example with DataflowPipelineRunner, sometimes the Maven process will emit a warning when trying to tear down the process: > {quote}{noformat} > [DEBUG] interrupting thread Thread[pool-1-thread-1,5,org.apache.beam.examples.WordCount] > [DEBUG] joining on thread Thread[pool-1-thread-1,5,org.apache.beam.examples.WordCount] > [WARNING] thread Thread[pool-1-thread-1,5,org.apache.beam.examples.WordCount] was interrupted but is still alive after waiting at least 14999msecs > [WARNING] thread Thread[pool-1-thread-1,5,org.apache.beam.examples.WordCount] will linger despite being asked to die via interruption > [WARNING] NOTE: 1 thread(s) did not finish despite being asked to via interruption. This is not a problem with exec:java, it is a problem with the running code. Although not serious, it should be remedied. > [WARNING] Couldn't destroy threadgroup org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.apache.beam.examples.WordCount,maxpri=10] > {noformat}{quote} > This appears to be some bad interaction between exec-maven-plugin and DataflowPipelineRunner, possibly due to exec-maven-plugin's use of Guice and our shading of it. > The problem doesn't always reproduce, except when executing multiple Maven targets, such as "mvn install exec:java \[...\]" > Disabling exec:java's cleanupDaemonThreads indeed suppresses the issue. I recommend we add this configuration to the root pom.xml. -- This message was sent by Atlassian JIRA (v6.3.4#6332)