Exception being thrown when setting Active to true in Ignite 2.1 with Persitence enabled

2017-08-01 Thread Raymond Wilson
I’m testing out a first piece of code to use the Ignite persistence layer in the C# client. I have added a persistence layer aspect to the configuration for the grid, like this: cfg.PersistentStoreConfiguration = new PersistentStoreConfiguration() {

RE: Best practise for setting Ignite.Active to true when using persistence layer in Ignite 2.1

2017-08-01 Thread Raymond Wilson
Hi Mikhail, Thanks for the clarifications. Yes, I knew setting active was only required when using the persistence layer, which is the topic of the question J I was interested if there were best practices or approaches for determining when the grid had fully initialized. I realise this is

RE: Accessing array elements within items cached in Ignite without deserialising the entire item

2017-08-01 Thread Raymond Wilson
Hi Pavel, Thanks for the clarifications. I certainly appreciate that cross platform protocols constrain what can be done… Thanks for pointing out IBinaryRawReader. Regarding random access into arrays, is this something that is on the books for a future version? Thanks, Raymond.

Re: Amazon AMI not available in a specific region

2017-08-01 Thread raksja
Thanks for quick turn around that helped. Also do you know/any one how to install ignite in EMR worker nodes? Looks like there's no straight forward way. Any help or suggestions? On Tue, Aug 1, 2017, 5:33 AM Nikolai Tikhonov [via Apache Ignite Users] < ml+s70518n15854...@n6.nabble.com> wrote: >

Re: Can not deserialize ignite cache expired event's oldValue

2017-08-01 Thread ezhuravlev
Hi, You've got instance of BinaryObject, not instance of com.coupang.ignite.fds.model.DiscountCouponOrderItem. To get instance of this class you need to deserialise BinaryObject value by invoking oldVal.deserialize() Evgenii -- View this message in context:

Off-Heap and Eviction policy questions

2017-08-01 Thread Yasser
I am developing a datagrid using Ignite 2.1 to store a large size table (~25G). I will be using 8 nodes with 12G RAM. I am currently developing in my local machine and trying to understand the cache load mechanism, printed metrics and eviction policy. Based on the below metrics, the heap size

Re: Cache Groups and PARTITIONED/REPLICATED

2017-08-01 Thread slava.koptilin
Hi Juan, > the returned set is always null. As soon as an empty configuration is > passed, the set seems to work again. Is this the intended behavior? Yes, this is the intended behavior. Ignite#set() method returns a named set from cache and create one if it has not been created yet and

Re: Is Apache Ignite can host in Winform(.Net)?

2017-08-01 Thread ptupitsyn
Hi Eric, 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. You code works fine, can you re-check it? I've copied it

Re: c++ ignite: cache.ContainsKey(key object) method returns false even when key is present

2017-08-01 Thread Igor Sapego
Hello, Which version are you on? Also, please share your configuration. Does the same behaviour persists if you do it using Java API? > Also I would like to know if there is any way in c++ to obtain the key > object using QueryFieldsCursor You should use SQL query like "select _key, ... from

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-01 Thread afedotov
Hi Ankit, Sorry I was busy a bit lately. I'll proceed with the investigation and give you an update. Kind regards, Alex. On Tue, Aug 1, 2017 at 5:31 PM, Ankit Singhai [via Apache Ignite Users] < ml+s70518n15860...@n6.nabble.com> wrote: > Please check folks > > On 31-Jul-2017 13:33, "Ankit

Re: Unable to start 2.1 with durable memory

2017-08-01 Thread slava.koptilin
Hi, Unfortunately, I cannot reproduce the issue. Could you please provide info about what command you are using to start Ignite? Anyway, I see that you are trying to use example-persistent-store.xml which is refer to org.apache.ignite.examples.model.Organization Thus, you have to build

c++ ignite: cache.ContainsKey(key object) method returns false even when key is present

2017-08-01 Thread kotamrajuyashasvi
I am running c++ ignite client, with cassandra as persistent store. The cache has custom object as key. The key class is mapped in c++ and Java Pojo using BinaryType object. I also implemented hashcode and equals in java pojo. When I use cache.Get(key object) in c++ client I am able to retrieve

Re: [ANNOUNCE] Apache Ignite 2.1.0 Released

2017-08-01 Thread slava.koptilin
Hi, What command did you use in order to build Apache Ignite from the source? Did you follow the build instructions in the DEVNOTES.txt? Could you please try the following command? mvn clean install -Pall-java,all-scala,licenses -DskipTests Thanks! -- View this message in context:

Re: Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalMonitorStateException: Attempted to release write lock while not holding it

2017-08-01 Thread Ankit Singhai
Please check folks On 31-Jul-2017 13:33, "Ankit Singhai [via Apache Ignite Users]" < ml+s70518n1581...@n6.nabble.com> wrote: > Hi Alex / Folks, > PFA zip containing:- > 1. Server log > 2. Grid Config > 3. Java class to initialise all caches > 4. Cache CoException_In_Ignite.zip >

Re: using user defined object as key in ignite c++ client

2017-08-01 Thread kotamrajuyashasvi
Thanks for the response. I am able to use object as key now -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/using-user-defined-object-as-key-in-ignite-c-client-tp15727p15859.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Remote node ID is not as expected - New Node not coming up

2017-08-01 Thread Gracelin Priya
Hello, Can anyone help me to debug? I had a four node cluster up and running. Brought down all the nodes and tried starting it again. One of the node is not coming up and not joining the cluster. It is throwing the below error. What is the reason for below error?. Verified that IP

How to manage sequence with legacy database having auto increment id

2017-08-01 Thread Taud Anas
Hi, I need to cache a legacy database having with auto increment key and already containing records. When I try to insert a new record I have this error: Caused by: class org.apache.ignite.IgniteCheckedException: Key is missing from query     at

RE: Cache Groups and PARTITIONED/REPLICATED

2017-08-01 Thread Juan Barani
I realized that if a have an global AtomicConfiguration like the following: final AtomicConfiguration atomicConfiguration = new AtomicConfiguration(); atomicConfiguration.setCacheMode(CacheMode.REPLICATED); igniteCfg.setAtomicConfiguration(atomicConfiguration); and I create a set with the

Re: Is Apache Ignite can visit through TCP, like Redis?

2017-08-01 Thread slava.koptilin
Hi Eric, 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. Apache Ignite provides a rich set of APIs that can

Re: Amazon AMI not available in a specific region

2017-08-01 Thread Nikolai Tikhonov
Hi, I've copied AMI to Oregon. ami-f07f9b88 is image id. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Amazon-AMI-not-available-in-a-specific-region-tp15838p15854.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Cache Groups and PARTITIONED/REPLICATED

2017-08-01 Thread Juan Barani
Hi! While trying the execute the very first snippet that creates a set in the documentation: https://apacheignite.readme.io/docs/queue-and-set#overview Ignite ignite = Ignition.ignite(); IgniteSet set = ignite.set( "setName", // Set name. null // Collection configuration.

Re: Best practise for setting Ignite.Active to true when using persistence layer in Ignite 2.1

2017-08-01 Thread Mikhail Cherkasov
Hi Raymond, Ignite cluster is inactive on startup only if persistence is enabled. This is done to avoid unnecessary partition exchanges between nodes, for example, if you have 3 nodes and 1 backup enabled and you start only 2 of 3 nodes, then they will treat the third node as dead and start

Re: IGFS WEB UI ?

2017-08-01 Thread slava.koptilin
Hi Pradeep, 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. Ignite provides only native IGFS API

Re: Accessing array elements within items cached in Ignite without deserialising the entire item

2017-08-01 Thread Pavel Tupitsyn
Hi Raymond, First of all, BinaryObject is a cross-platform concept, it exists in C#, C++, Java. >From C# point of view there are some inconsistencies (like nullable Guid, or non-generic collections), but these things are dictated by the existing protocol, so we can't change them. In most cases

Re: Ignie 2.1: Heap memory used issue

2017-08-01 Thread slava.koptilin
Hi Bob, I don't see any strange results. Starting Ignite 2.0 data is always in off-heap, but Java heap is used for operational needs of your application and internals of Ignite itself (not as a data storage). I think that 'Heap memory initialized', 'Heap memory committed' and 'Heap memory

Re: Unable to start 2.1 with durable memory

2017-08-01 Thread devkumar
I have both libraries inside lib folder of ignite. The problem occurs only when i put below configuration in my ignite configuration. I am able to start the ignite server by removing above property. -- View this message in context:

Ignie 2.1: Heap memory used issue

2017-08-01 Thread Bob Li
I turned onheap off in my cache definition file like:

Re: Scheduler throwing NullPointerException for Ignite 2.0.0

2017-08-01 Thread Dmitriy Govorukhin
Hi ronly2008, I applied your stacktrace on ignite-2.0.0, but code lines is does not matched. Are you sure that you use ignite-2.0.0 (it is tag)? Can you provide small reproducer? It can help solve problem more quickly. -- View this message in context:

Re: Unable to start 2.1 with durable memory

2017-08-01 Thread Вячеслав Коптилин
Hi, The log you provided contatins the following exception: - java.lang.ClassNotFoundException: org.apache.ignite.configuration.PersistentStoreConfiguration It seems that Ignite libs are not not present in the CLASSPATH. Please, be sure that '{ignite-release}/libs/',

Unable to start 2.1 with durable memory

2017-08-01 Thread devkumar
Hi, I am unable to start server with durable memory enable. I am getting the following error :- class org.apache.ignite.IgniteException: Failed to instantiate Spring XML application context (make sure all classes used in Spring configuration are present at CLASSPATH)

Re: Setting MemoryConfiguration

2017-08-01 Thread Evgenii Zhuravlev
With the default configuration, clients don't use offheap memory. If you will configure MemoryConfiguration and create LOCAL cache - they will use offHeap memory Evgenii 2017-07-31 17:55 GMT+03:00 Amit Pundir : > Thanks but does that mean client nodes do *not* use the