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

2017-07-26 Thread afedotov
Hi Ankit, Is the issue reproducible on every run or intermittent? What are the OS and JDK versions in each environment? Please share full logs. As well, could you please share a Maven/Gradle based reproducer? Kind regards, Alex 27 июля 2017 г. 8:09 AM пользователь "Ankit Singhai [via Apache Igni

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

2017-07-26 Thread Ankit Singhai
Hi Folks, Any help on the above issue. Regards, Ankit Singhai -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Caused-by-org-h2-jdbc-JdbcSQLException-General-error-java-lang-IllegalMonitorStateException-Attemptet-tp15684p15714.html Sent from the Apache Ignite Use

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

2017-07-26 Thread aa...@tophold.com
Thanks Andrey, seem the option 1 is better, I will try. Regards Aaron aa...@tophold.com From: Andrey Mashenkov Date: 2017-07-26 21:38 To: user Subject: Re: Re: TcpCommunicationSpi - Caught unhandled exception in NIO worker thread (restart the node) java.lang.OutOfMemoryError: Java heap s

[Paging] QueryCursor and SqlQuery

2017-07-26 Thread woo charles
Hi, How can I do paging when query from ignite cache? Can I get records by range? specific page? If I have 1 rows of records with page size set to 20, how can I get the 21-40 (Page 2)?

RE: Cache item factory

2017-07-26 Thread Raymond Wilson
Hi Pavel. Thanks for the pointer, it looks like a good option. I’ll read into IBinarizable et al. Thanks, Raymond *From:* Pavel Tupitsyn [mailto:ptupit...@apache.org] *Sent:* Thursday, July 27, 2017 12:00 AM *To:* user@ignite.apache.org *Subject:* Re: Cache item factory Hi Raymond,

Question on efficient loading from Cassandra

2017-07-26 Thread Roger Fischer (CW)
Hello, what is the best way to efficiently load data from a backing store, like Cassandra. I am looking for a solution that minimizes work in Ignite and Cassandra. As I understand: The simplest way is to call loadCache() with a single select statement. cache.loadCache( null, "select * from a_t

Re: Failure to deserialize simple model object

2017-07-26 Thread franck102
BTW if you experiment around you will want to clean up the work/marshallers directories on server & client between tests; once the typeId is saved there the problem goes away obviously... Franck -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Failure-to-deserial

Re: Failure to deserialize simple model object

2017-07-26 Thread franck102
Hi Mikhail, I have extracted the simplest possible configuration, I have attached a self-contained project that uses an in memory H2 database and reproduces the problem, here are the steps: 1. mvn install in the root 2. run the junit test org.apache.ignite.sample.test.ServerTests#runIgnite (this

Tomorrow, July 27: Apache Ignite Meetup in Silicon Valley

2017-07-26 Thread Denis Magda
Folks of the valley, Bay Area and San-Francisco come over to community’s meetup (https://www.meetup.com/Bay-Area-In-Memory-Computing/events/241381155/) to learn more about the internals of durable memory architecture and Ignite Persistent Store that will be released in Apache Ignite 2.1 througho

Re: GridGain vs. ignite maven artifacts

2017-07-26 Thread Denis Magda
My 5 cents to Val's response. The online Web Console is GridGain's deployment of the tool on its own infrastructure. As Ignite users, we can try out the tool there before setting it up in our own environment. -- Denis -- View this message in context: http://apache-ignite-users.70518.x6.nabbl

Re: GridGain vs. ignite maven artifacts

2017-07-26 Thread vkulichenko
Hi Franck, The latest version of Ignite is 2.0.0 and it's available on Maven Central. If you're using Ignite, that's the one you should use. GridGain uses the mentioned repo to provide maintenance builds to their customers. -Val -- View this message in context: http://apache-ignite-users.705

Re: Do not store @javax.persistence.Transient fields

2017-07-26 Thread vkulichenko
This exception is optional and does not affect anything. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Do-not-store-javax-persistence-Transient-fields-tp15604p15704.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Apache Ignite Python issue

2017-07-26 Thread temp2016_01
Hello all, Could anybody please help me with configuration to get Python interaction with Ignite memcache? I read this article: https://apacheignite.readme.io/v2.0/docs/memcached-support#python and configured CentOS 7: installed python3.6.x + pylibmc + libmemcached-devel. Wrote that sample Py

Re: heap dump on ignite servers

2017-07-26 Thread ignite_user2016
Thank you Andrew.. we are upgrading Ignite to 2.0 so hopefully we wont have such issues. On Wed, Jul 26, 2017 at 10:35 AM, Andrew Mashenkov [via Apache Ignite Users] wrote: > Hi, > > Looks like we have a more optimal code in latest versions. See IGNITE-4154 > [1] > Try to update to >= 1.8 vers

Re: Cache performance in multi-threaded environment

2017-07-26 Thread Nikolai Tikhonov
Hi Vladimir, 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. 1) I think that it doesn't lead to dramatically perfo

Re: regarding ignite-hibernate module as L2 hibernate cache

2017-07-26 Thread Andrey Mashenkov
I'd like, but think it will not be resolved soon. Actually, we've update Hibernate dependency up to 5.1 recently, in ignite-2.0 version. We decide to pospone upgrade Hibernate up to 5.2 due to Hibernate has Java 8 native support from 5.2 version. On Wed, Jul 26, 2017 at 7:19 PM, Nikolai Tikhonov

Re: regarding ignite-hibernate module as L2 hibernate cache

2017-07-26 Thread Nikolai Tikhonov
Hello, I answered on SO [1]. Also I've created ticket and you can track progress there [2]. 1. https://stackoverflow.com/questions/45327322/exception-while-trying-to-use-ignite-hibernate-as-l2-cache 2. https://issues.apache.org/jira/browse/IGNITE-5848 On Wed, Jul 26, 2017 at 3:37 PM, sureshkumar

GridGain vs. ignite maven artifacts

2017-07-26 Thread franck102
Hi all, the online Web console mentioned in the Ignite docs generates code that points to 2.1.2 ignite artifacts in this repository: On maven central the latest release I can find is 2.0.0... so what do you recommend I should use? Are the GridGain artifacts a fork of the Ignite code base

Re: Ignite client not seeing cache created by server

2017-07-26 Thread Mikhail Cherkasov
Hi Maureen, I was able to reproduce the problem too. I found that spring boot parent project override h2 version with is required by ignite, try to define h2 in you pom 1.4.195: com.h2database h2 1.4.195 Thanks, Mikhail. On Tue, Jul 25, 2017 at 2:01 PM, Maureen Lawless wrote: > Hi Mikhail

Re: heap dump on ignite servers

2017-07-26 Thread Andrey Mashenkov
Hi, Looks like we have a more optimal code in latest versions. See IGNITE-4154 [1] Try to update to >= 1.8 version. As a workaround you can try to reduce discovery history size with JVM option IGNITE_AFFINITY_HISTORY_SIZE, which is 500 by default. [1] https://issues.apache.org/jira/browse/IGNITE

Re: ignite-indexing karaf feature problems on Karaf 4.1.1

2017-07-26 Thread Nikolai Tikhonov
Hello, Apache Ignite has a сlose integration with H2 and uses classes from this package for starting debug console. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ignite-indexing-karaf-feature-problems-on-Karaf-4-1-1-tp15643p15694.html Sent from the Apache Ign

Re: Zeppelin-0.7.2: java.lang.IllegalArgumentException: Command line can not be null

2017-07-26 Thread slava.koptilin
Hi, Please see my answer on SO https://stackoverflow.com/a/45331063/8371000 Thanks, Slava. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Zeppelin-0-7-2-java-lang-IllegalArgumentException-Command-line-can-not-be-null-tp15680p15693.html Sent from the Apache Ign

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

2017-07-26 Thread Andrey Mashenkov
Aaron, There are some way you can try. 1. You can add classes to BinaryConfiguration to force marshaller to load particular classes. This should resolve the issue. 2. You can clear cache and reload data from store. 3. You can try to copy marshaller work directory to newly create nodes or prestart

regarding ignite-hibernate module as L2 hibernate cache

2017-07-26 Thread sureshkumarvepari
Im getting this exception, while trying to use ignite-hibernate 2.1.1 as L2 cache with Hibernate 5.2.4 "Handler dispatch failed; nested exception is java.lang.AbstractMethodError: org.apache.ignite.cache.hibernate.HibernateEntityRegion$AccessStrategy.putFromLoad(Lorg/hibernate/engine/spi/SharedSe

Re: ODBC version is not supported issue

2017-07-26 Thread limabean
Thank you, Igor. Very helpful ! -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/ODBC-version-is-not-supported-issue-tp15641p15690.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: ODBC version is not supported issue

2017-07-26 Thread Igor Sapego
I don't know how difficult is something like this going to be for fixing, as the version issue can hide some other issues. It's something that needs to be investigated yet. Now, to the versions. Yes, this is driver protocol version, which should be not higher than the node's Ignite version. It can

Re: ODBC version is not supported issue

2017-07-26 Thread limabean
Igor, Thanks for a prompt reply to this and opening a Jira for us. Do you have an idea on how difficult something like this is to fix ? Wallace and I have to support a legacy BI tool and ODBC is required to support that tool (unfortunately). We use RazorSQL in our development process, which is w

Re: Cache item factory

2017-07-26 Thread Pavel Tupitsyn
Hi Raymond, You can have complete control over deserialization with IBinarizable interface: https://apacheignite-net.readme.io/docs/serialization#section-ibinarizable ReadBinary method takes IBinaryReader, which internally operates directly on unmanaged memory stream, so you can eliminate any unw

Re: Ignite Cluster going OOM

2017-07-26 Thread Nikolai Tikhonov
Hi, Vote for this release will be finished tomorrow. I think it will be successful and the release will be ready on this week. On Wed, Jul 26, 2017 at 12:57 PM, Ankit Singhai wrote: > Hi Andrew, > Please let us know when Ignite 2.1.0 would be available & do you think we > can try with Ignite 2.

Re: ODBC version is not supported issue

2017-07-26 Thread Igor Sapego
Hi, Thanks for the log. I can't see from it which version RazorSQL tries to set, but I guess it's 2.0. Currently, we only support 3.0. I've filed a ticket for this: [1] - https://issues.apache.org/jira/browse/IGNITE-5842 Best Regards, Igor On Tue, Jul 25, 2017 at 11:07 PM, wallace321 wrote:

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

2017-07-26 Thread Ankit Singhai
Hi All, I am trying to create an searchable cache where in Linux environment I am getting the below exception everytime but not getting it in my Windows laptop. org.apache.ignite.IgniteCheckedException: Failed to register query type: QueryTypeDescriptorImpl [space=loginServiceTokenCacheIgnite, nam

Re: Ignite Cluster going OOM

2017-07-26 Thread Ankit Singhai
Hi Andrew, Please let us know when Ignite 2.1.0 would be available & do you think we can try with Ignite 2.0? Thanks Ankit Singhai -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Cluster-going-OOM-tp15175p15683.html Sent from the Apache Ignite Users mail

Cache item factory

2017-07-26 Thread Raymond Wilson
Hi, I would like to control the way objects are created in response to ICache.Get() methods. For instance given a cache defined like this: ICache MyCache; I would like to provide a factory to create the MemoryStream instance when Ignite needs to create an instance to deserialise a c

Re: Do not store @javax.persistence.Transient fields

2017-07-26 Thread kestas
We do not want to have dependency on Ignite in our domain subsystem so implementing Binarylizable is not an option (at the moment). Reading documentation i found Ignite honors readResolve and writeReplace methods which should work for my case. However in Ignite documentation says readResolve is def