Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-06 Thread Saikat Maitra
Hi, Yes, you can connect to a remote(local running in some 475XX port or another host in network ) ignite node using IgniteClient. Please take a look into some examples available here https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/client/ClientPutGe

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-05 Thread monstereo
I thought that I could connect specific ignite node via setting userAttributes in the xml configuration. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-05 Thread monstereo
thank you for your response you comments helped me alot But there is point about IgniteStorm, one way or another I can run the code via ide.(using ignite-storm). However when I convert to there was error like you said backward compability. That's why I gave up to do with ignite-storm, just do it s

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-05 Thread Saikat Maitra
Hello, 1. I think the issue with Incompatible class error is due to backward incompatible changes between slf4j-api 1.7.25 and ignite-log4j. I agree for most cases we need not worry on the dependency compatibility but incase of incompatible changes excluding dependencies helps. 2. The link I shar

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-04 Thread monstereo
Here is the pom.xml -> pom2.xml Here is the node configuration -> node.xml -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-04 Thread monstereo
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

Re: Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-04 Thread Saikat Maitra
Hi, StormStreamer already creates Ignite instance as part of start() method. In your example since multiple thread is trying to create ignite instances you are getting the exception of "Ignite already started". Please take a look into the below sample test implementation of StormStreamer. https:

Need IgniteConfiguration and XML at the same time? IgniteStormStreamer?

2018-09-04 Thread monstereo
I want to integrate ignite with storm via ignite-storm dependency Because of Storm works with Threads, I had to use: *Ignite node =Ignition.getOrStart(...),* and this method only takes IgniteConfiguration instance. Here is the method declaration: *public static Ignite getOrStart(IgniteConfigu