Re: How to set node Id?

2018-08-30 Thread Denis Magda
Strange, I've never seen consistent IDs collisions before. Are you using Ignite persistence and what's your version? If you scroll to the end of this paragraph, you'll find an explanation on how the IDs are generated: https://apacheignite.readme.io/docs/distributed-persistent-store#section-usage

Re: Node keeps crashing under load

2018-08-30 Thread Denis Magda
Eugene, Please share full logs from all the nodes and execution plan for the query. That's what the community usually needs to help with troubleshooting. Also, attach GC logs. Use these settings to gather them:

How to set node Id?

2018-08-30 Thread eugene miretsky
Hello, Is it possible to set a nodeId when restarting a node? How is the id generated? Sometimes after the cluster crashes, when I restart a node I get the following error: Caused by: class org.apache.ignite.spi.IgniteSpiException: Failed to add node to topology because it has the same hash code

Re: Affinity key in SQL execution

2018-08-30 Thread vkulichenko
Prasad, To achieve the best performance, join criteria should be the same as collocation criteria. E.g., if you join by userId, then userId should be used as affinity key. Please learn more about distributed joins here: https://apacheignite-sql.readme.io/docs/distributed-joins -Val -- Sent

Node keeps crashing under load

2018-08-30 Thread eugene miretsky
Hello, I have a medium cluster set up for testings - 3 x r4.8xlarge EC2 nodes. It has persistence enabled, and zero backup. - Full configs are attached. - JVM settings are: JVM_OPTS="-Xms16g -Xmx64g -server -XX:+AggressiveOpts -XX:MaxMetaspaceSize=256m -XX:+AlwaysPreTouch -XX:+UseG1GC

ignite.compute(grp).affinityRun()...

2018-08-30 Thread Dave Harvey
It is unclear what the intended semantics of using IgniteCompute.affinityRun() when a subset of the grid was selected. From reading the code, my current guess is IgniteCompute.affinityRun() will run on the primary, regardless of whether only a subset of the grid was specified. In my case I

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread wt
Super, that looks like the solution. Thank you so much for this. It's been so difficult navigating without complete documentation. Will give it a whirl. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Ilya Kasnacheev
Hello! I think you are affected by https://issues.apache.org/jira/browse/IGNITE-9054 which is being worked on. Regards, -- Ilya Kasnacheev чт, 30 авг. 2018 г. в 11:47, Serty J : > Hello Danis, > Thanks for your reply, but SqlQuery is working fine, is there any > difference in P2P class

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread Ilya Kasnacheev
Hello! I think you should be using IgniteConfiguration cfg = Ignition.loadSpringBean(/* rel path, abs path or url */ "server.xml", /* bean name */"grid.cfg"); TcpDiscoverySpi spi = new TcpDiscoverySpi(); spi.setAuthenticator(new CustomSecurityProcessor()); cfg.setDiscoverySpi( spi);

Re: Simulate Read Only Caches

2018-08-30 Thread Павлухин Иван
Hi Steve, It is an interesting question. I am not aware of any development in this direction. Perhaps, more experienced community members could tell more. I think that it would be great to experiment around a topic disabling some checks here and where. Then it worth to run some kind of benchmark

Re: How much heap to allocate

2018-08-30 Thread eugene miretsky
Thanks against for the detailed response! Our main use case is preforming large SQL queries over tables with 200M+ rows - wanted to give you a bit more details and context you can pass along A simple example would be: - Table: customer_id, date, category, views, clicks ( pkey =

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

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread wt
by the way i am doing all this in Java -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread wt
I need to use the web console for rmdbs integration so i am using the config file that is generated and the project. What i am busy working on is writing a custom plugin that authenticates users. I need to setDiscoverySpi with the new authenticator but there doesn't seem to be a method in the

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread Ilya Kasnacheev
Hello! Can you please elaborate which settings you want to transfer to Java? Note that you do have to configure binary marshaller in Java to use it together with .Net: https://apacheignite-net.readme.io/docs/platform-interoperability Regards, -- Ilya Kasnacheev чт, 30 авг. 2018 г. в 11:05,

Re: keep old cache value than new value

2018-08-30 Thread luqmanahmad
Nice, that might work - thanks Denis -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

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

How close client connection to server

2018-08-30 Thread F.D.
Hi Igniters, when in my c++ client I close the connection to the server, after a computation, I got this error: [11:29:51,542][SEVERE][grid-nio-worker-tcp-comm-1-#34][TcpCommunicationSpi] Failed to process selector key [...] java.io.IOException: An existing connection was forcibly closed by the

Connection between servers.

2018-08-30 Thread F.D.
Hi igniters, I've problem of connections between the servers, so I'd like to know which must be open to permit the communication. Thanks, F.D.

how to convert org.apache.ignite.lang.IgniteBiTuple to IgniteConfiguration

2018-08-30 Thread wt
need to be able to read in the config file and then apply an authenticator to it before starting ignite. I have managed to call IgnitionEx.loadConfigurations("server.xml"); which returns org.apache.ignite.lang.IgniteBiTuple How can i convert this to an IgniteConfiguration object? -- Sent

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Serty J
Hello Danis, Thanks for your reply, but SqlQuery is working fine, is there any difference in P2P class loading mechanism between SqlQuery and ScanQuery? Thanks Saby On Thu, Aug 30, 2018 at 1:44 PM Denis Mekhanikov wrote: > The client protocol doesn't imply P2P class loading. > So, you need to

Re: ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Denis Mekhanikov
The client protocol doesn't imply P2P class loading. So, you need to provide the implementation of the scan query on the server side. P2P class loading works only for regular nodes, server or client as well. Denis чт, 30 авг. 2018 г. в 9:14, Saby : > ScanQuery is reporting the following

Re: ignite.net config (applying spring and .net config)

2018-08-30 Thread wt
hi Ilya Is there a way to do this in java? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: TcpDiscoverySpi.setAuthenticator

2018-08-30 Thread wt
I am using a config file and not setting config in code. How can i register setDiscoverySpi with my custom class in the config file or can i set it in code and also apply the config file? thanks -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: How to run a job every 5 seconds in Ignite

2018-08-30 Thread Lokesh Sharma
I managed to run the task every x seconds using an infinite loop though. "deployClusterSingleton" was the key to make it work. Many thanks. On Thu, Aug 30, 2018 at 12:57 PM Lokesh Sharma wrote: > That didn't help because extended syntax is not for running task every x > seconds. It specifies

Re: How to run a job every 5 seconds in Ignite

2018-08-30 Thread Lokesh Sharma
That didn't help because extended syntax is not for running task every x seconds. It specifies the delay in seconds to run the task for first time and number of times the task has to be executed. On Tue, Aug 28, 2018 at 2:15 PM Павлухин Иван wrote: > Hi Lokesh, > > You could try out extended

ScanQuery throwing Exception for java Thin client while peerclassloading is enabled

2018-08-30 Thread Saby
ScanQuery is reporting the following exception while trying to fetch the data from remote Ignite Server through the Java thing client keeping the peerClassLoading is enabled, But SqlQuery is fetching the correct result and is sending it back to the client. If Lamda expression is used as filter in