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 13D79200CCE for ; Sun, 23 Jul 2017 22:33:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1238D16411B; Sun, 23 Jul 2017 20:33:09 +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 5737116411A for ; Sun, 23 Jul 2017 22:33:08 +0200 (CEST) Received: (qmail 87667 invoked by uid 500); 23 Jul 2017 20:33:07 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 87658 invoked by uid 99); 23 Jul 2017 20:33:07 -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; Sun, 23 Jul 2017 20:33:07 +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 033FF1A0371 for ; Sun, 23 Jul 2017 20:33:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-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 Z2ZtUuegdwUQ for ; Sun, 23 Jul 2017 20:33:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CC1385F3A1 for ; Sun, 23 Jul 2017 20:33:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 58054E02FD for ; Sun, 23 Jul 2017 20:33:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 118CA21ED9 for ; Sun, 23 Jul 2017 20:33:00 +0000 (UTC) Date: Sun, 23 Jul 2017 20:33:00 +0000 (UTC) From: "Luke Cwik (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-2662) Quickstart for Spark Java not working MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 23 Jul 2017 20:33:09 -0000 [ https://issues.apache.org/jira/browse/BEAM-2662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16097794#comment-16097794 ] Luke Cwik commented on BEAM-2662: --------------------------------- https://github.com/apache/beam/commit/ce4e51747501111ae2c4b1691c6994bd0f92e161 seemed to remove the required ${spark.version} > Quickstart for Spark Java not working > ------------------------------------- > > Key: BEAM-2662 > URL: https://issues.apache.org/jira/browse/BEAM-2662 > Project: Beam > Issue Type: Bug > Components: examples-java, runner-spark > Affects Versions: 2.1.0 > Reporter: Luke Cwik > Assignee: Luke Cwik > Priority: Blocker > > Spark version is missing in generated examples archetype pom.xml: > {code} > > org.apache.spark > spark-streaming_2.10 > ${spark.version} <--- Missing > runtime > > > org.slf4j > jul-to-slf4j > > > > {code} > Quickstart fails with: > {code} > lcwik@lcwik0:~/release/word-count-beam$ mvn compile exec:java -Dexec.mainClass=org.apache.beam.examples.WordCount -Dexec.args="--runner=SparkRunner --inputFile=pom.xml --output=counts" -Pspark-runner > [INFO] Scanning for projects... > [ERROR] [ERROR] Some problems were encountered while processing the POMs: > [ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-streaming_2.10:jar is missing. @ line 241, column 21 > @ > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project org.example:word-count-beam:0.1 (/usr/local/google/home/lcwik/release/word-count-beam/pom.xml) has 1 error > [ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-streaming_2.10:jar is missing. @ line 241, column 21 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please read the following articles: > [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > {code} > I generated the archetype pom.xml with: > {code} > mvn archetype:generate -DarchetypeGroupId=org.apache.beam -DarchetypeArtifactId=beam-sdks-java-maven-archetypes-examples -DarchetypeVersion=2.1.0 -DgroupId=org.example -DartifactId=word-count-beam -Dversion="0.1" -Dpackage=org.apache.beam.examples -DinteractiveMode=false > {code} > after adding https://repository.apache.org/content/repositories/orgapachebeam-1019/ as a repo in my settings.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)