From user-return-21643-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Sep 5 08:09:28 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 60621180654 for ; Wed, 5 Sep 2018 08:09:28 +0200 (CEST) Received: (qmail 76028 invoked by uid 500); 5 Sep 2018 06:09:27 -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 76018 invoked by uid 99); 5 Sep 2018 06:09:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2018 06:09:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A748DCADE1 for ; Wed, 5 Sep 2018 06:09:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id nWza011QUkGr for ; Wed, 5 Sep 2018 06:09:25 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E4EFC5F125 for ; Wed, 5 Sep 2018 06:09:24 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id 3AAAA94634D6 for ; Tue, 4 Sep 2018 23:09:24 -0700 (MST) Date: Tue, 4 Sep 2018 23:09:24 -0700 (MST) From: monstereo To: user@ignite.apache.org Message-ID: <1536127764189-0.post@n6.nabble.com> In-Reply-To: References: <1536068190474-0.post@n6.nabble.com> Subject: Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have many questions *1)* This issue really annoying me, here is the error:(occurs in storm project) *java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_181] at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_181] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_181] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) ~[?:1.8.0_181] at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:368) ~[?:1.8.0_181] at java.net.URLClassLoader$1.run(URLClassLoader.java:362) ~[?:1.8.0_181] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181] at java.net.URLClassLoader.findClass(URLClassLoader.java:361) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_181] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:1.8.0_181] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_181] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_181] at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_181] at org.apache.ignite.internal.util.IgniteUtils.addLog4jNoOpLogger(IgniteUtils.java:8366) ~[ignite-core-2.5.0.jar:2.5.0] at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:930) ~[ignite-core-2.5.0.jar:2.5.0] at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:854) ~[ignite-core-2.5.0.jar:2.5.0] at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:724) ~[ignite-core-2.5.0.jar:2.5.0] at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:693) ~[ignite-core-2.5.0.jar:2.5.0]* now, i have solved but i need proper solution, because i know that when i convert to jar, it gives me error(always it gives). Here is the my solution: according to the this line "org.apache.ignite.internal.util.IgniteUtils.addLog4jNoOpLogger", I have realized that ignite-storm uses storm and log4j as a dependency Then I excluded these dependency from pom.xml, and it works. However, this is really stupid issue, do i have to care all dependency all the time? *2)* Link that you provided says that // if an ignite instance is already started in same JVM then use it. can you explain this. Right now i am working on local mode. I already open one ignite node on the terminal. then I open one ignite node inside the storm project Now, I am opening 2 different JVM or one. (Same question for production mode, think of it terminal and storm project are inside different machines) *3)* As far as I know, StormStreamer igniteStormStreamer = new StormSt.. () this, it creates new ignite node. For my project, I have one ignite node on a machine, Then to get cache data from that machine, I will open another ignite node in storm (actually in spout inside the open method) Then I process the datas via spouts bolts etc.. Then I will write the last processed data to new ignite cache (uses StormStreamer) However, because of I have created ignite node once, when I use stormstreamer, i am getting IgniteAlreadyStarted exceptions How can i solved that? (Note that: I have to be sure that one ignite node will be created in the storm) -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/