Ignite Service Grid - how to have control over service execution in cluster?

2018-10-17 Thread the_palakkaran
Hi, Suppose I have three server nodes and using ignite in standalone manner. I have configured a service for loading my data into cache in all nodes, but expects only one of them to actually deploy the service as a cluster singleton. 1. How do I tell my service to execute its execute method only

Re: Ignite Service Grid - Anomalous behavior

2018-10-17 Thread Evgenii Zhuravlev
Without it, you can't just understand, which data you should upload to each node. ср, 17 окт. 2018 г. в 12:03, Evgenii Zhuravlev : > Yes, in case if you use not partition-aware CacheStore > > Evgenii > > вт, 16 окт. 2018 г. в 22:36, the_palakkaran : > >> Does it mean all data will be loaded on al

Re: Ignite Service Grid - Anomalous behavior

2018-10-17 Thread Evgenii Zhuravlev
Yes, in case if you use not partition-aware CacheStore Evgenii вт, 16 окт. 2018 г. в 22:36, the_palakkaran : > Does it mean all data will be loaded on all servers and then it will > partition amongst them ? > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >

Re: Ignite Service Grid - Anomalous behavior

2018-10-16 Thread the_palakkaran
Does it mean all data will be loaded on all servers and then it will partition amongst them ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite Service Grid - Anomalous behavior

2018-10-16 Thread Evgenii Zhuravlev
Hi, CacheStore's loadCache method was designed to start on all server nodes - each data node should load all data(if you don't have partition-aware CacheStore) and only after it each node will filter data that belongs to it. Evgenii вт, 16 окт. 2018 г. в 19:24, the_palakkaran : > I have a clust

Ignite Service Grid - Anomalous behavior

2018-10-16 Thread the_palakkaran
I have a cluster of three nodes. I have a cache loader service that I deploy from my client node which actually invokes a cache store implementation's loadCache method. The problem is that the service gets executed on all nodes means every node loads the same data. I tried restricting max no of s

Re: Ignite Service Grid

2018-08-31 Thread luqmanahmad
James, this can be resolved by either putting all the classes which are required by your Service in the lib folder of ignite or enable peer class loading. See [1] for peer class loading [1] peer-class-loading -- Sent fr

Re: Ignite Service Grid

2018-08-31 Thread Ilya Kasnacheev
Hello! > Caused by: java.lang.ClassNotFoundException: com.domain.ignite.NodeFilter What's up with this class? Is it available on service node? On other nodes? Is version the same? Regards, -- Ilya Kasnacheev чт, 30 авг. 2018 г. в 21:18, James Dodson : > If it helps, here are parts of the st

Re: Ignite Service Grid

2018-08-30 Thread James Dodson
If it helps, here are parts of the stacktrace sequence we get when trying to start a service node: Caused by: org.apache.ignite.IgniteCheckedException: Failed to deploy provided services. Caused by: org.apache.ignite.services.ServiceDeploymentException: Failed to deploy provided services. Caused b

Re: Ignite Service Grid

2018-08-30 Thread James Dodson
We haven't even gotten a service node started properly. It is unclear if we can do what we want with just 1 service node, or what a correct architecture looks like. Do we even need a service node at all? Can one of the client nodes support running these services? If we need a service node, can it w

Re: Ignite Service Grid

2018-08-30 Thread luqmanahmad
James, can you show us how you are trying to invoke the services from continuous queries and spring boot as well? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Ignite Service Grid

2018-08-30 Thread James Dodson
I am seeking some guidance about Ignite Service Grid. We have a cluster of standalone Ignite data nodes. Connecting to the data nodes, we have several Spring Boot applications each launching an Ignite client node. One of the Spring Boot applications creates Continuous Queries in Ignite. These

Re: Spark 'close' API call hangs within ignite service grid

2018-04-02 Thread Andrey Mashenkov
Hi, Socket exception can be caused by wrong network configuration or firewall configuration. If node will not be able to send an response to other node then it can cause grid hanging. (Un)marshall exceptions (that is not caused by network exceptions) is a signal that smth goes wrong. On Fri, Ma

Re: Spark 'close' API call hangs within ignite service grid

2018-03-22 Thread akshaym
I have pushed the sample application to github . Please check it once. Also, I am able to get rid of the hang issue with spark.close API call by adding "igniteInstanceName" property. Not sure if its a right approach though. I came up with

Re: Spark 'close' API call hangs within ignite service grid

2018-02-28 Thread Denis Mekhanikov
I don't see anything suspicious in the log. Can you submit a project with a reproducer to GitHub or attach to this thread? Denis ср, 28 февр. 2018 г. в 8:52, akshaym : > Hi, I have updated my post. In short when I call spark.close() inside > ignite > service it hangs and call never returns. > >

Re: Spark 'close' API call hangs within ignite service grid

2018-02-27 Thread akshaym
Hi, I have updated my post. In short when I call spark.close() inside ignite service it hangs and call never returns. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Spark 'close' API call hangs within ignite service grid

2018-02-27 Thread Denis Mekhanikov
Hi! Please attach the log as a file. Right now it's impossible to read. Also please specify, what exactly doesn't work on the master version. I couldn't figure it out from the log. Denis вт, 27 февр. 2018 г. в 9:55, akshaym : > Hi, > > I am running a sprak job within ig

Spark 'close' API call hangs within ignite service grid

2018-02-26 Thread akshaym
Hi, I am running a sprak job within ignite service grid. After job is done I am calling close() on spark session. This is working for stable version of ignite i.e. 2.3.0. However, its not working with 2.5.0-SNAPSHOT version. Here are the detailed logs : / Closing spark context [27-02-2018 12:12

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-10-25 Thread Evgenii Zhuravlev
rImpl.java:1837) > at > org.apache.ignite.spi.discovery.tcp.ServerImpl$IpFinderCleaner.body( > ServerImpl.java:1812) > at org.apache.ignite.spi.IgniteSpiThread.run( > IgniteSpiThread.java:62) > " > > > > -- > View this message in context: http://apache

Re: using dataStreamer inside Ignite service grid execute

2017-10-24 Thread slava.koptilin
Hello, > is there a way to pass the same streamer to execute function? I don't think so. The obvious solution is creating a data streamer inside the service implementation and using it for populating data/executing stream visitor logic. Thanks. -- Sent from: http://apache-ignite-users.70518.x

Re: using dataStreamer inside Ignite service grid execute

2017-10-20 Thread shuangjiang.li
I see the reason now, is there a way to pass the same streamer to execute function? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: using dataStreamer inside Ignite service grid execute

2017-10-20 Thread slava.koptilin
Hi, Ignie#dataStreamer(String cacheName) method creates a new instance of data streamer. So, you created two different instances of data streamer that are not communicating in any way each other. That is the reason, why there is no output inside the service grid function. Thanks! -- Sent from:

using dataStreamer inside Ignite service grid execute

2017-10-19 Thread shuangjiang.li
Hi, I am trying to implement StreamVisitor function inside service grid execute function.I started ignite node and service deployment in the main function, however, in the execute logic, there is no output message print out. I tested the logic can be triggered when the StreamVisitor code is put alo

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-29 Thread tmp
ava:1837) at org.apache.ignite.spi.discovery.tcp.ServerImpl$IpFinderCleaner.body(ServerImpl.java:1812) at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) " -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-access-Apache-Ignite-service-grid-services-from-

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-17 Thread Alexander Fedotov
rySpi.register > edAddresses(TcpDiscoverySpi.java:1711) at org.apache.ignite.spi.discover > y.tcp.ServerImpl$IpFinderCleaner.cleanIpFinder(ServerImpl.java:1837) at > org.apache.ignite.spi.discovery.tcp.ServerImpl$IpFinderCleaner.body(ServerImpl.java:1812) > at org.apache.ignite.spi.Ignite

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-17 Thread Alexander Fedotov
.tcp.ServerImpl$ IpFinderCleaner.cleanIpFinder(ServerImpl.java:1837) at org.apache.ignite.spi.discovery.tcp.ServerImpl$IpFinderCleaner.body(ServerImpl.java:1812) at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62) -- View this message in context: Re: How to access Apache Igni

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread krutipatel
d.run(IgniteSpiThread.java:62) -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-to-access-Apache-Ignite-service-grid-services-from-a-J2ee-application-server-tp14970p14979.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread afedotov
--- If you reply to this email, your message will be added to the discussion below: http://apache-ignite-users.70518.x6.nabble.com/How-to- access-Apache-Ignite-service-grid-services-from-a-J2ee-application-server- tp14970p14977.html To start a new topic under Apache Ignite Users, email ml

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread krutipatel
che-ignite-users.70518.x6.nabble.com/How-to-access-Apache-Ignite-service-grid-services-from-a-J2ee-application-server-tp14970p14977.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread Alexander Fedotov
Posting from the duplicate thread I am trying to access services that i have exposed over the apache-ignite service-grid from out side the ignite-cluster. I am trying to access them from a J2ee application running on a Wildfly10 j2ee application server. However when i am trying to use the

Re: How to access apache-ignite service-grid services form a J2ee application

2017-07-16 Thread afedotov
Hi, Please avoid creating duplicates of the question and keep discussion in scope of http://apache-ignite-users.70518.x6.nabble.com/How-to-access-apache-ignite-service-grid-services-form-a-J2ee-application-tp14972.html Kind regards, Alex 16 июля 2017 г. 10:14 AM пользователь "krutipatel

Re: How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread afedotov
18n1497...@n6.nabble.com> написал: Hi team, I am trying to use Apache Ignite for project and I am trying to access the apache-ignite service-grid services, which are exposed through the service nodes from out side the cluster from an application deployed on a J2ee application server . Loo

How to access apache-ignite service-grid services form a J2ee application

2017-07-16 Thread krutipatel
I am trying to access services that i have exposed over the apache-ignite service-grid from out side the ignite-cluster. I am trying to access them from a J2ee application running on a Wildfly10 j2ee application server. However when i am trying to use the services-proxy api , it is starting a

How to access Apache Ignite service grid services from a J2ee application server

2017-07-16 Thread tarun patel
Hi team, I am trying to use Apache Ignite for project and I am trying to access the apache-ignite service-grid services, which are exposed through the service nodes from out side the cluster from an application deployed on a J2ee application server . Looking through the documentation and research

Re: Converting REST service to Ignite Service Grid

2016-02-08 Thread vkulichenko
Hi Deha, Yes, this is correct. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Converting-REST-service-to-Ignite-Service-Grid-tp2873p2890.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Converting REST service to Ignite Service Grid

2016-02-08 Thread diopek
Hi Val, if we just use Ignite service grid client API to access service cluster, Ignite automatically handles load balancing. Is that correct? Thanks, Deha -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Converting-REST-service-to-Ignite-Service-Grid

Re: Converting REST service to Ignite Service Grid

2016-02-07 Thread vkulichenko
a look at our Web Sessions Clustering feature [1], probably it will be useful as well. [1] https://apacheignite.readme.io/docs/web-session-clustering -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Converting-REST-service-to-Ignite-Service-Grid-tp2873p2874

Converting REST service to Ignite Service Grid

2016-02-07 Thread diopek
this REST service is using Spring REST template to access existing service, moving to Ignite based solution impact would be update all the client code to Ignite Service grid api. Hence, I'd like to hear your comments/suggestions (any pros/cons, better practices) regarding this architectural c