Re: Byte[] serialization

2016-09-15 Thread vkulichenko
Binarylizable is usually used when there is a need for custom serialization logic, it doesn't affect the performance. It looks like you can go with default behavior. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Byte-serialization-tp7768p7786.html Sent

Re: OFFHEAP_VALUES ignoring max memory limit

2016-09-15 Thread Anmol Rattan
Also, why there are two things eviction and expiration policy. We could have kept one class with exclusive property based on time (expiration) and eviction based on size. Regarding expiration, I have a specific requirement to keep 3 days worth cache data. However, that shall be rolled over weekend

Re: OFFHEAP_VALUES ignoring max memory limit

2016-09-15 Thread vkulichenko
Hi, In OFFHEAP_VALUES mode entries are actually stored on-heap, but instead of actual values these entries have pointers to off-heap memory. Example in the doc in incorrect, you should configure eviction policy to limit the cache size: http://apacheignite.gridgain.org/v1.0/docs/evictions -Val

Re: Jvm process Off heap RAM limit.

2016-09-15 Thread vkulichenko
Hi, No, this is a per-cache setting. But I think it makes sense to have a global option, I will start a thread on dev list. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Jvm-process-Off-heap-RAM-limit-tpp7778.html Sent from the Apache Ignite Users

Re: AtomicSequence not working when shutting down one server node from a cluster

2016-09-15 Thread vkulichenko
hitansu wrote > For my poc I created a cluster of 3 nodes by executing the ignite.bat file > 3 times.I run the java program as a client to generate sequence id.In the > middle I shut down one server node.The sequence id generation threw > NullpointerException.I observed that if the first server

Re: AtomicSequence not working when shutting down one server node from a cluster

2016-09-15 Thread vkulichenko
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. -- View this message in context:

Re: AtomicSequence not working when shutting down one server node from a cluster

2016-09-15 Thread vkulichenko
-- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/AtomicSequence-not-working-when-shutting-down-one-server-node-from-a-cluster-tp7770p7780.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Jvm process Off heap RAM limit.

2016-09-15 Thread user42
Hi! Is where a way to limit total RAM amount for a ignite jvm process, for all off-heap caches together? Regards, User42 -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Jvm-process-Off-heap-RAM-limit-tp.html Sent from the Apache Ignite Users mailing list

Re: Failed to get Item| Ignite queue

2016-09-15 Thread Anmol Rattan
Ok. However, there was only one node and only node which holds that cache. A little strange behaviour. Memory footprint in heap was also half. On Sep 15, 2016 5:31 PM, "Vladislav Pyatkov" wrote: > Hi, > > It look like you are losing elements. This may be because node of

Javadoc at GridGain website is at version 1.6 instead of 1.7.1

2016-09-15 Thread Kenan Dalley
The Javadoc link at the GridGain website hasn't been updated to the latest release of 1.7.1 and is still referring back to v 1.6.0. This is the link " https://ignite.apache.org/releases/1.6.0/javadoc ". -- View this message in context:

Re: Argument Type Mismatch for Oracle CLOB

2016-09-15 Thread Alexey Kuznetsov
Hi Kenan! I will take a close look tomorrow and will share my findings. -- Alexey Kuznetsov GridGain Systems www.gridgain.com

Re: Argument Type Mismatch for Oracle CLOB

2016-09-15 Thread Kenan Dalley
Thanks, Alexey. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Argument-Type-Mismatch-for-Oracle-CLOB-tp7748p7774.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Byte[] serialization

2016-09-15 Thread styriver
I implemented the Binarylizable interface. If I attempt to get the object from cache using just the key it works. If I attempt to get the object via a sqlQuery I get the index out of bounds exception. Our preferred approach is to use SqlQuery. Is there a way to accomplish this? These are the

Re: Argument Type Mismatch for Oracle CLOB

2016-09-15 Thread Alexey Kuznetsov
Hi Kenan! JdbcTypesDefaultTransformer actually excellent example. Take a look https://github.com/apache/ignite/blob/ignite-1.7/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/JdbcTypesDefaultTransformer.java If you have problems - post code of your transformer and I will try to

Re: Argument Type Mismatch for Oracle CLOB

2016-09-15 Thread Kenan Dalley
Is there an example of how this is used/done? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Argument-Type-Mismatch-for-Oracle-CLOB-tp7748p7767.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Byte[] serialization

2016-09-15 Thread Scott Tyriver
Hello One of the objects I am caching has a class member that contains a byte[] (png image). Are there examples of how to serialize/deserialize this. I am getting this warning when I look at it in debug mode WARNING: Class "com.imaging.cache.beans.TiffPage" cannot be serialized using

OFFHEAP_VALUES ignoring max memory limit

2016-09-15 Thread Ignitebie
Hi, Can you confirm why ignite logs this warning for caches configured in OFFHEAP_VALUES MODE, whereas documentation suggest it support max memory parameter in this mode. Warning in logs. Off heap maximum memory configuration property will be ignored for the cache working in OFFHEAP_VALUES

Re: Services not injected into CacheStore if deployed using Spring configuration

2016-09-15 Thread Vladislav Pyatkov
Hello, I begin to think different... life cycle of CacheStore and life cycle of Service may be absolutely different. Service can be undeploy (like this ignite.services().cancel(CacheStoreBackend.SERVICE_NAME)), when cache (with store) continue existing. In that case, I think, get service just

Re: Services not injected into CacheStore if deployed using Spring configuration

2016-09-15 Thread Evgeniy Ignatiev
I am going to file issue, also there is one point I want to clarify before doing this: having already configured and run cluster, upon deployments to a newly joined node, services and caches are started independently, and creation of a cache store for a cache may occur before all of the

Re: Failed to get Item| Ignite queue

2016-09-15 Thread Vladislav Pyatkov
Hi, It look like you are losing elements. This may be because node of grid has failed. You can try to increase count of backup copies, look at the setBackups() in CollectionConfiguration[1]. [1]: https://apacheignite.readme.io/v1.7/docs/queue-and-set#collection-configuration On Wed, Sep 14,

Re: Couchbase as persistent store

2016-09-15 Thread kvipin
Thanks a ton Val, it solved my problem. regards, -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Couchbase-as-persistent-store-tp7476p7762.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Services not injected into CacheStore if deployed using Spring configuration

2016-09-15 Thread vdpyatkov
I think, you are right. Could you plese create issue for Ignite in Apache Jira[1]? Until you can to use something like this: Ignite ig = Ignition.ignite(); backend = ig.services().service(CacheStoreBackend.SERVICE_NAME); as workaround. [1]:

Re: Reassign partitions

2016-09-15 Thread wetnose
Hi Val, Did you look at my example? It there a mistake in the Ignite configuration or in the steps I did? -Alex -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Reassign-partitions-tp7461p7760.html Sent from the Apache Ignite Users mailing list archive at