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 A93CF200B72 for ; Fri, 26 Aug 2016 22:22:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A7AE0160AB6; Fri, 26 Aug 2016 20:22:26 +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 EE4F7160A94 for ; Fri, 26 Aug 2016 22:22:25 +0200 (CEST) Received: (qmail 85020 invoked by uid 500); 26 Aug 2016 20:22:25 -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 85011 invoked by uid 99); 26 Aug 2016 20:22:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2016 20:22:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A6757C03CB for ; Fri, 26 Aug 2016 20:22:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.646 X-Spam-Level: X-Spam-Status: No, score=-4.646 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id fVQB2VkRY5TC for ; Fri, 26 Aug 2016 20:22:22 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id B6D305F30A for ; Fri, 26 Aug 2016 20:22:21 +0000 (UTC) Received: (qmail 84020 invoked by uid 99); 26 Aug 2016 20:22:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2016 20:22:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EB95C2C0150 for ; Fri, 26 Aug 2016 20:22:20 +0000 (UTC) Date: Fri, 26 Aug 2016 20:22:20 +0000 (UTC) From: "Luke Cwik (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-592) StackOverflowError Failed example/java/WordCount When Using SparkRunner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 26 Aug 2016 20:22:26 -0000 [ https://issues.apache.org/jira/browse/BEAM-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15439743#comment-15439743 ] Luke Cwik commented on BEAM-592: -------------------------------- Unless runners shade all their dependencies it will be near impossible to maintain having multiple runners included at the same time. Splitting up the profiles to be per runner for the examples package seems like the right thing to do. > StackOverflowError Failed example/java/WordCount When Using SparkRunner > ----------------------------------------------------------------------- > > Key: BEAM-592 > URL: https://issues.apache.org/jira/browse/BEAM-592 > Project: Beam > Issue Type: Bug > Reporter: Mark Liu > > WordCount(example/java/WordCount) failed running with sparkRunner in following command: > {code} > mvn clean compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount -Dexec.args="--inputFile=/tmp/kinglear.txt --runner=SparkRunner --sparkMaster=local --tempLocation=/tmp/out" > {code} > Following is part of stacktrace: > {code} > Caused by: java.lang.StackOverflowError > at java.util.concurrent.CopyOnWriteArrayList.toArray(CopyOnWriteArrayList.java:374) > at java.util.logging.Logger.accessCheckedHandlers(Logger.java:1782) > at java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:1668) > at java.util.logging.Logger.getHandlers(Logger.java:1776) > at java.util.logging.Logger.log(Logger.java:735) > at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:580) > at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:650) > at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:224) > at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:301) > at java.util.logging.Logger.log(Logger.java:738) > at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:580) > at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:650) > at org.slf4j.bridge.SLF4JBridgeHandler.callLocationAwareLogger(SLF4JBridgeHandler.java:224) > at org.slf4j.bridge.SLF4JBridgeHandler.publish(SLF4JBridgeHandler.java:301) > ... > {code} > According to [http://slf4j.org/legacy.html#jul-to-slf4j] and in particular section: "jul-to-slf4j.jar and slf4j-jdk14.jar cannot be present simultaneously". > Change slf4j-jdk14 dependency scope to test solve the above problem, but WordCountIT still failed in same reason. -- This message was sent by Atlassian JIRA (v6.3.4#6332)