SQLQuery and Datatypes

2017-04-21 Thread javastuff....@gmail.com
Hi My cached object is Binarylizable. I am using SQLQuery and SQLFieldQuery. In some cases I need to query on a hardcoded/fixed filter e.g. Name = 'xyz'. Same usecase for Long, Date, TimeStamp datatype as well. Basically not using setArgs(). I see it works fine for String, Int, Long. - Can

Master-Worker Pattern Possible In Ignite?

2017-04-21 Thread Sean Winship
I've used GigaSpaces in the past and I'd like to know if I can use Ignite in a similar fashion. Specifically, I need to implement a master-worker pattern where one set of process writes objects to the in-memory data grid and another set reads those objects, does some processing, and possibly

Re: stdout - Message queue limit is set to 0, potential OOMEs

2017-04-21 Thread javastuff....@gmail.com
Added below to TcpCommunicationSpi and message went away, able to see the new value on JMX as well. // However, how do I know what is the good or suitable value one need to set? I have more than 50 different PARTITIONED OFF-HEAP caches defined, most likely to have 2 to 4 nodes with 20GB each or

Re: Pessimistic TXN did not release lock on a key, all subsequent txns failed

2017-04-21 Thread bintisepaha
Andrey, we never start a txn on the client side. The key that gets locked on our end and stays locked even after a successful txn is never read or updated in a txn from the client side. Are you also able to reproduce the key remaining locked issue? Thanks, Binti -- View this message in

Re: Index

2017-04-21 Thread Andrey Mashenkov
Hi Sam, Default is 'null' obviously, it is by bad design and here is a ticket [1]. It is already fixed in 2.0, where index is SORTED by default. [1] https://issues.apache.org/jira/browse/IGNITE-4511 On Fri, Apr 21, 2017 at 10:00 PM, javastuff@gmail.com < javastuff@gmail.com> wrote: >

Re: Index

2017-04-21 Thread javastuff....@gmail.com
Resolved it! I used default constructor for QueryIndex and missed setting IndexType. This resulted into missing index. Added /"idx.setIndexType(QueryIndexType.SORTED)"/, able to see index on H2 debug console. What is the default IndexType? Is it expected to not throw error when IndexType is not

Re: Exceptions while running Closure with task count > 1000

2017-04-21 Thread vdpyatkov
Hi, I try to check your example at near time. But I wan to know hot to do that: 1) I should start empty Ignite server on dedicate machine. 2) After a empty server start, need to begin your example with n more then 1000. Is it correct scenario? -- View this message in context:

Re: disable fault tolerance

2017-04-21 Thread André Luis Almeida
Andrey, I want to test "in-memory distributed key-value store (Map)" with fault tolerance (fault in a node) enable and disable. thanks 2017-04-20 17:41 GMT-03:00 Andrey Mashenkov : > Hi Andre, > > What fault tolerance do you mean? Ignite has a number of modules.

Re: What is the difference between starting a node using Java application, and manual starting?

2017-04-21 Thread rick_tem
Is that entirely true? Plugins don't start when you simply just start Ignite with Ignite.bat or Ignite.sh unless you package your particular class among the Ignite jars and add an org.apache.ignite.plugin.Pluginprovider file to META-INF/services. Or am I missing something. Best, Rick -- View

Re: Failing DataStreamer beacuse of minor version change

2017-04-21 Thread Evgenii Zhuravlev
You don't need to handle it, as it mentioned in exception message - "DataStreamer will retry data transfer at stable topology ". It will retry right after topology will be updated. If you don't have any other exceptions - data loading finished successfully 2017-04-21 15:54 GMT+03:00 Alper

Re: Run Ignite on a separate Yarn Queue instead of default queue

2017-04-21 Thread vdpyatkov
Hi, I have found the issue[1]. Unfortunately it were not resolved. [1]: https://issues.apache.org/jira/browse/IGNITE-2738 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Run-Ignite-on-a-separate-Yarn-Queue-instead-of-default-queue-tp12046p12155.html Sent from

Re: IgniteCacheProxy connection failure in REPLICATAED mode

2017-04-21 Thread Andrey Mashenkov
Hi Rick, Looks weird. Cache operation on replicated cache on server node should not failed when other node leaved. Would you please attach logs? Ignite 2.0 ETA should be release on next week. But seems, it may delays for 1-2 weeks as there is neither node freeze happened nor vote started. On

Re: How to do write-behind caching?

2017-04-21 Thread Dieds
A library of tutorials would be just the think for an “Apache Ignite University” section. I page of tutorials, how-to’s, videos and local event listings. We need one of those on this site. Tom > On Apr 21, 2017, at 2:23 AM, Ricky Nauvaldy Ruliputra [via Apache Ignite > Users]

Re: What is the difference between starting a node using Java application, and manual starting?

2017-04-21 Thread blasteralfred
Thanks @dkarachentsev . I got it -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/What-is-the-difference-between-starting-a-node-using-Java-application-and-manual-starting-tp12143p12152.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Failing DataStreamer beacuse of minor version change

2017-04-21 Thread Alper Tekinalp
Hi, So how should I handle that exception? Should I just ignore it? Is there a way I can know when the data streamer successfully deliver after getting that error? I just want to know if data loading/rebalancing finished succesfully. On Fri, Apr 21, 2017 at 2:10 PM, Evgenii Zhuravlev

Re: What is the difference between starting a node using Java application, and manual starting?

2017-04-21 Thread dkarachentsev
Hi, If under manually started you mean using ignite.sh(.bat) script, then there actually is no difference, because at the end it calls the same Ignition.start() method (Spring configured app as well). But with programmatic starting you can run more than one node in single JVM. This may be useful

Re: With same load Ignite is not able to respond after enabling SSL

2017-04-21 Thread Ankit Singhai
igniteClient.gz server1.gz server2.gz server3.gz

Re: Exceptions while running Closure with task count > 1000

2017-04-21 Thread Cathode
Sorry for the late reply. Can't share full original project, but i create the simple one that can fully reproduce this exception. https://www.dropbox.com/s/lcf7q168qbkaxpy/igniteIntegrationTest.zip?dl=0 2017-04-17 16:41 GMT+03:00 vdpyatkov [via Apache Ignite Users] <

Re: Ignite client deployed on Tomcat is not able to make secure connection with standalone Ignite Server

2017-04-21 Thread Ankit Singhai
Hi Val, It was resolved there was certificate error. Thanks -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-client-deployed-on-Tomcat-is-not-able-to-make-secure-connection-with-standalone-Ignite-Server-tp11928p12147.html Sent from the Apache Ignite Users

With same load Ignite is not able to respond after enabling SSL

2017-04-21 Thread Ankit Singhai
Hi All, We have 3 servers and 10 clients in topology, wherein all use-cases are on Ignite Cache. Load is round 40K cache operations / min i.e. Create, Read, Update and Delete but after enabling SSL we are getting below exceptions (which was working earlier with out SSL). [07:25:15] (err) Failed

Re: Error while running query against Ignite Server Node

2017-04-21 Thread Evgenii Zhuravlev
Alper, Did you lose any data or you just got the same error in log? You could get the same error when minor version of topology was changed during DataStreamer's flushing Evgneii 2017-04-18 16:29 GMT+03:00 Alper Tekinalp : > Hi Nikolai, > > By saying: > > > This exception

Re: Failing DataStreamer beacuse of minor version change

2017-04-21 Thread Evgenii Zhuravlev
Hi, Minor topology version changes when you creating or removing caches and at late affinity. Yes, you see this error in log because minor topoly was changed while datastreamer was running, but you didn't lose any data. According to javadoc

What is the difference between starting a node using Java application, and manual starting?

2017-04-21 Thread blasteralfred
Hi, I am completely new ti Ignite and am working around examples. I made a java application, which uses ignition method to start node. Also, I know that server can be manually started. What is the difference between these two and why / in which all situations, should i use them? Thanks in

Failing DataStreamer beacuse of minor version change

2017-04-21 Thread Alper Tekinalp
Hi. First of all what is minor topology version and when does it chage? Below we got an error while loading data with data streamer: 18/Apr/2017 13:50:45 INFO 34391455 [exchange-worker-#31%null%] org.apache.ignite.internal.processors.cache.GridCacheProcessor(L:475) - Started cache

Re: Input data is no significant change in multi-threading

2017-04-21 Thread Andrey Mashenkov
Hi Woo, DataStreamer is designed to fill cache with maximum throughput. By default, streamer will not rewrite cache data, until allowOverwite option is set. Why you need to input same set of data? Why do you expected data input time will change significantly with 2 programs compared to 1 if data

Re: IgniteCacheProxy connection failure in REPLICATAED mode

2017-04-21 Thread rick_tem
Hi Andrey, Thanks for you response. Still seems to be problematic. See below. Any idea when 2.0 will be available? Recall I had one Ignite as a client in Jboss and two Ignite servers. What I've done is force the Jboss into a server, and start one other Ignite instance (two Ignite server