Re: Client requires DataSource bean configuration copy

2017-07-24 Thread franck102
Thanks Val, that makes sense. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Client-requires-DataSource-bean-configuration-copy-tp15491p15576.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Running Ignite client in C++

2017-07-24 Thread kotamrajuyashasvi
Hi.. thanks for your response. I'm able to run ignite c++ client by using a simple make file which has 'LDFLAGS' set to folders in $IGNITE_HOME/platforms/cpp , and 'LDLIBS' set to -lpthread, -lignite-common, -lignite, -lignite-jni, -lignite-binary. The IGNITE_HOME should have all the cpp libraries

Re: Re: TcpCommunicationSpi - Caught unhandled exception in NIO worker thread (restart the node) java.lang.OutOfMemoryError: Java heap space

2017-07-24 Thread aa...@tophold.com
Thanks Val, Regards previous question of the setWorkDirectory for each Ignite nodes, I found after set I always got : Caused by: java.lang.ClassNotFoundException: Unknown pair [platformId=0, typeId=-482681703] at org.apache.ignite.internal.MarshallerContextImpl.getClassName(MarshallerContext

Some question regards near cache and cache store

2017-07-24 Thread aa...@tophold.com
Hi All, Will REPLICATED mode cache can not use the NearCacheConfiguration? Also the affinity should not be used for REPLICATED mode cache right? Possible evict some data from the cache manually, when use JDBC storage as back-end; for some entry, I only want to mark them as deleted and mov

Re: Streaming test

2017-07-24 Thread vkulichenko
Jessie, Ignite#atomicLong method will return existing instance if it is already initialized, so you actually don't need to manage this manually. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Streaming-test-tp14039p15525.html Sent from the Apache Ignite U

Re: About the xml configuration

2017-07-24 Thread vkulichenko
Hi Martin, 1. Generally yes, I would recommend to use the same configuration. Even if you do otherwise, you need to make sure that discovery configuration is correct everywhere. 1.1. Classes that are part of configuration like cache store implementation, must be explicitly deployed on all nodes in

Re: Client requires DataSource bean configuration copy

2017-07-24 Thread vkulichenko
Configuration contains only bean name, not bean itself, so it has to be provided explicitly on every node. Reasoning behind this is that cache store implementation is rarely can be serialized. On the client node cache store is needed for transactional caches, because in this mode store is updated

Re: slowClientQueueLimit and messageQueueLimit

2017-07-24 Thread vkulichenko
messageQueueLimit provides back pressure. If there are too many outbound pending messages in the queue, sender will wait until at least one of the messages is sent. slowClientQueueLimit is the maximum amount of outbound messages to a client node before that client is kicked out from topology. This

slowClientQueueLimit and messageQueueLimit

2017-07-24 Thread Amit Pundir
Hello Everyone, To manage the slow clients, Ignite provides 'slowClientQueueLimit' configuration on TcpCommunicationSpi. There is another configuration 'messageQueueLimit'. Could you please help me understand the difference between the two and whether - 1. slowClientQueueLimit is configured on

Client requires DataSource bean configuration copy

2017-07-24 Thread franck102
I have a single server defining a cachestore on top of a JDBC data source using the attached spring configuration. I connect a single client, and I don't need to replicate the cache configuration in the client: the client downloads it from the server on startup. However I still need to declare the

Re: Failure to deserialize simple model object

2017-07-24 Thread franck102
If I explicitly declare my model class in my binary configuration - just the class name, no special settings - everything starts working. This causes org.apache.ignite.internal.binary.BinaryContext#configure will register the class; I assume something should cause that to happen on the fly, but tha

Re: Failure to deserialize simple model object

2017-07-24 Thread franck102
Some more findings after a debugging session: - the client sends a MissingMappingRequest with the correct typeId; the server doesn't have the typeId in its context - I don't understand what/who is supposed to register the typeid with the MissingMappingRequestListener's marshallerContext; one poss

Re: Failure to deserialize simple model object

2017-07-24 Thread franck102
Hi Mikhail, I have subscribed to the mailing list - just didn't long enough before posting :( I have attached the POM. Since my post I tried a couple more things: - I removed the CacheConfiguration elements from the client; I can still find the server's partitioned caches in ignite.cacheNames(),

Re: Zero entry in off-heap.

2017-07-24 Thread mcherkasov
Hi Bob, your config is ok: https://issues.apache.org/jira/browse/IGNITE-5461 there's a bug in visor which is fixed in 2.1 version. Thanks, Mikhail. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zero-entry-in-off-heap-tp15442p15457.html Sent from the Apache Ig

Re: Failure to deserialize simple model object

2017-07-24 Thread mcherkasov
Hi. Please properly subscribe to the mailing list so that the community can receive email notifications for your messages. To subscribe, send empty email to user-subscr...@ignite.apache.org and follow simple instructions in the reply. Could you please share with us a small pom based project that

Re: Distributed SQL grid concerns

2017-07-24 Thread Denis Magda
Hi, Please see inline > On Jul 24, 2017, at 12:44 AM, Nabeel Ali Memon wrote: > > Hi, > > I'm considering to use Ignite 2.0.1 as a distributed SQL grid on top of a > commonly used relational DB server. The domain requires strict transactional > semantics since it's a payment information syst

Re: Running Ignite client in C++

2017-07-24 Thread Alexander Fedotov
Additionally, especially if you are familiar with QMake, please find attached an example of a simple QMake project file with a set of dependencies on Ignite headers and libs as well as on some required Java headers and libs. Kind regards, Alex. On Mon, Jul 24, 2017 at 3:44 PM, Alexander Fedotov <

Re: Running Ignite client in C++

2017-07-24 Thread Alexander Fedotov
Hi, Please refer to the pratform/cpp/README.txt for the information about the required headers and libraries. Under Linux, only makefiles are available for now. Kind regards, Alex. On Mon, Jul 24, 2017 at 2:11 PM, kotamrajuyashasvi < kotamrajuyasha...@gmail.com> wrote: > Hi .. I'm a newbie in i

Zero entry in off-heap.

2017-07-24 Thread Bob Li
I wanna put entries into off-heap area by the following configuration: Cache definition:

Running Ignite client in C++

2017-07-24 Thread kotamrajuyashasvi
Hi .. I'm a newbie in ignite. I was able to successfully deploy multiple ignite server nodes and run a client java program in java. The client java program required ignite-core.jar and some other jars. Now I want to run a sample ignite client in c++. I would like to know what are the main depende

Distributed SQL grid concerns

2017-07-24 Thread Nabeel Ali Memon
Hi, I'm considering to use Ignite 2.0.1 as a distributed SQL grid on top of a commonly used relational DB server. The domain requires strict transactional semantics since it's a payment information system. I quickly went through Ignite's user guide and it seems like all the necessary ingredients a