Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A07AE10D5E for ; Mon, 21 Dec 2015 13:03:51 +0000 (UTC) Received: (qmail 5901 invoked by uid 500); 21 Dec 2015 13:03:51 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 5857 invoked by uid 500); 21 Dec 2015 13:03:51 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 5847 invoked by uid 99); 21 Dec 2015 13:03:51 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2015 13:03:51 +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 DC2581A00C6 for ; Mon, 21 Dec 2015 13:03:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.92 X-Spam-Level: X-Spam-Status: No, score=0.92 tagged_above=-999 required=6.31 tests=[SPF_FAIL=0.919, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id B0V_ciI3OhXU for ; Mon, 21 Dec 2015 13:03:42 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 5746842BE6 for ; Mon, 21 Dec 2015 13:03:42 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id EF51F1CA4755 for ; Mon, 21 Dec 2015 05:03:19 -0800 (PST) Date: Mon, 21 Dec 2015 04:53:43 -0800 (PST) From: jcoston To: user@ignite.apache.org Message-ID: <1450702423708-2262.post@n6.nabble.com> In-Reply-To: References: <1450456274807-2257.post@n6.nabble.com> Subject: Re: Ignite and Spark Streaming Integration Using Java MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Andry, I think you are looking at the wrong project. I posted three of them. The first, wordCount_Spark, only uses Spark Streaming; the second, wordCount_Ignite, only uses Ignite; and the third testWordCounts is where I try to combine the two. I have made some modifications to the combined project and have attached the latest version. I think I have JavaIgniteContext working, but I'm having trouble running my JUnit test case. It keeps throwing the following error in SparkIgniteWordCount when it reaches line 66: INFO GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@66243c25: startup date [Mon Dec 21 07:46:15 EST 2015]; root of context hierarchy class org.apache.ignite.IgniteException: Default grid instance has already been started. at org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:881) Can you please take a look at the code and the configuration files? I'm thinking I need to specify the name for the additional clients/servers as I start them. Is that correct? How do I do that in the Spring XML file? Thank you, Jennifer -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Re-Ignite-and-Spark-Streaming-Integration-Using-Java-tp2255p2262.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.