Persistent store and eviction policy.

2017-08-09 Thread userx
Hi team, I was going through the documentation of durable memory at https://apacheignite.readme.io/docs/durable-memory As per the documentation, durable memory comes into picture when PersistentStore configuration is enabled. Now durable memory uses both RAM(hot data) and disk (superset). When

Re: Running Spark SQL on Spark Thrift Server with Ignite

2017-08-09 Thread vkulichenko
Hi Ravi, I don't think it currently will, because this will require integration with data frames. We have it plans, but it is not implemented yet. I think you should use IgniteRDD or Ignite APIs directly. Can you describe business use case you're trying to implement? -Val -- View this

Re: performance of jdbc mode

2017-08-09 Thread vkulichenko
1. These are just two different protocols for communication between client and cluster. With current implementations of both, client node would most likely provide better performance. We're already working on new thin client implementation though. 2. Can you provide the exact query you run,

Re: heap dump on ignite servers

2017-08-09 Thread ignite_user2016
any help here ? -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/heap-dump-on-ignite-servers-tp15679p16089.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

performance of jdbc mode

2017-08-09 Thread minisoft_rm
dear ignite gurus, I have 2 questions about ignite jdbc: 1. why ignite creates two jdbc driver: jdbc thin vs. jdbc client node 2. I tried the jdbc client node driver lots of times on loading data from Oracle. it is about 6k+ rows. and the sql statement - "select xxx/count (*)" takes more ms

Re: Possible starvation in striped pool. message

2017-08-09 Thread Yakov Zhdanov
Well, we need to take a closer look then. This may be affected by transaction protocol. Viacheslav Koptilin, can you please create a test and see what time goes to? kestas, you can switch to Ignite.compute().affinityCall("key", () -> {return cacheBinary.get("key").field("f"));}); This should work

Re: Using Java ignite clients and calling them from c++ using JNI v/s using c++ ignite clients directly

2017-08-09 Thread Igor Sapego
Hi, This depends on the feature scope you will need in C++, but in general, it is not trivial task to implement some of Ignite features in C++. For example, that's true that you have to specialize BinaryType in C++ now to work with it, but if you will choose to implement your own solution you

Re: Affinity Key field is not identified if binary configuration is used on cache key object

2017-08-09 Thread agura
Hi, this configuration shouldn't work because there is typo in property name in this code snippet (AffinityKeyFieldName should start with lower case, my fault from previous posts):

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

2017-08-09 Thread Ankit Singhai
Thanks using latest Java 7 resolves the issue. -- 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-tp15684p16078.html Sent from the Apache Ignite Users mailing list

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

2017-08-09 Thread Ankit Singhai
Thanks using latest Java 7 resolves the issue. -- 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-tp15684p16077.html Sent from the Apache Ignite Users mailing list

Re: OOM in Heap though offHeap is available/free

2017-08-09 Thread afedotov
Hi Amit, Your understanding is correct, an on-heap cache is like a frontend for an off-heap cache. It's useful in cases when a lot of cache reads are expected. The only thing that should be considered is setting an eviction policy for on-heap cache to prevent it growing unrestrictedly. Please

Re: Tuning parameters for performance of ignite Persistence store

2017-08-09 Thread Alexey Kukushkin
Hi, By default Ignite runs checkpointing asynchronously in single thread. Configure number of checkpointing threads, for example: Right now I am not sure why you see that "caching almost stops": as I said checkpointing is async. If you put data into a memory page being currently

Re: Platform updates

2017-08-09 Thread luqmanahmad
Hi Val, Indeed, it does make sense. Thanks for all your help. - Luqman -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Platform-updates-tp15998p16074.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Using Java ignite clients and calling them from c++ using JNI v/s using c++ ignite clients directly

2017-08-09 Thread kotamrajuyashasvi
Hi I have a c++ application that requires querying some data with transactions on ignite. So I require a ignite client which would be called by this c++ application which would request the ignite server for processing the query. Now there are two ways in which I could implement the ignite