Re: Ignite with Spring Boot Data JPA

2018-07-10 Thread bitanxen
Hi John, Thanks a lot for the reply. I will test this out in my setup. Hope this will help me. Just one question, if you are excluding HikariCP, then how the Datasource will be created using ignite cluster's URL and credentials? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite with Spring Boot Data JPA

2018-07-10 Thread John Heitor
Hi, I am not too sure if this will help but this is my current setup that I have working on Ignite 2.4. jpa.database-platform: org.hibernate.dialect.H2Dialect and have the following Maven dependency. com.h2database h2 1.4.196 Since Spring

Re: Ignite with Spring Boot Data JPA

2018-07-10 Thread Pavel Vinokurov
Hi Ignite uses H2 syntax, so you could set H2 dialect: Thanks, Pavel 2018-07-11 0:46 GMT+03:00 Вячеслав Коптилин : > Hello, > > I don't think I clearly understand the issue you faced. > Please provide more details about the problem so that the community can > help you. > Could create a

Re: Partition eviction failed, this can cause grid hang. (Caused by: java.lang.IllegalStateException: Failed to get page IO instance (page content is corrupted))

2018-07-10 Thread siva
Can any one look at this problem?We are facing frequently -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite with Spring Boot Data JPA

2018-07-10 Thread Вячеслав Коптилин
Hello, I don't think I clearly understand the issue you faced. Please provide more details about the problem so that the community can help you. Could create a small reproducer project and share it on GitHub? By the way, the log file from the server node will be helpful as well. Thanks, S. вт,

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread monstereo
I'm confused how to use these jar. I have the run the command "$ mvn clean package -DskipTests -Prelease,lgpl" and many things have been done successfully ignite-aws, ignite-hibernate-core vs now how i am going to use them: I have added them directly but given me the same error, here is the

Ignite with Spring Boot Data JPA

2018-07-10 Thread bitanxen
Hi, I have a running a ignite cluster. Now from my spring boot maven project which is dependent on spring-data-jpa where the jdbc datasource is configured with Ignite. But it's giving me an error that hibernate entitymanager bean is not initialised because it didn't find hibernate.dialect. Is

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread Evgenii Zhuravlev
Hibernate is LGPL-licensed, so we stopped deploying there. To get artifacts for 2.5 version that have LGPL dependencies, you need to build them from the source [1] and deploy in your local repo. [1] http://ignite.apache.org/download.cgi#build-source 2018-07-10 21:46 GMT+03:00 monstereo : > I

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread monstereo
I have create what apache ignite is said, but i got this exception: Exception in thread "main" org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.cache.spi.RegionFactory] Unable to resolve name [org.apache.ignite.cache.hibernate.HibernateRegionFactory]

Re: Information regarding Ignite Web Console

2018-07-10 Thread Sriveena Mattaparthi
Hi Denis, Thanks for the detailed explanation ... 1. what if the query doesn't have any primary key or unique idbut still have to load the entire table data in ignite for further join querying with other caches 2. Data will change every time we hit select * from table in

RE: Does ignite support Read-consistent queries?

2018-07-10 Thread Stanislav Lukyanov
Ignite transactions support this with REPEATABLE_READ isolation level. More info here: https://apacheignite.readme.io/docs/transactions Stan From: Prasad Bhalerao Sent: 9 июля 2018 г. 14:50 To: user@ignite.apache.org Subject: Does ignite support Read-consistent queries? Read-consistent

RE: Physical colocation of Ignite nodes in different JVM's

2018-07-10 Thread Stanislav Lukyanov
Hi Gregory, > So I would need a function that returns a node id from a Cache Key then a > function returning a node of the cluster give its id I don’t quiet get how it getting a node for a key fits here (you’d need to know some key then), but ignite.affinity().mapNodeToKey() does this. How

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread Evgenii Zhuravlev
Well, you can use, for example, eviction policy: https://apacheignite.readme.io/docs/evictions Evgenii 2018-07-10 16:43 GMT+03:00 monstereo : > thanks, > then in hibernate l2 cache, we do not provide the specific data to load > cache?(igniteCache.loadCache() ) > but then, how many data will be

Re: Authentication for Apache Ignite 2.5

2018-07-10 Thread aealexsandrov
Hi, 1)According to advanced security that provided by default: https://apacheignite.readme.io/docs/advanced-security It will provide the possibility to create/drop/alter the users. Also, it provides the only simple authentification with the password. Note that it required the persistence and .

Re: Information regarding Ignite Web Console

2018-07-10 Thread Denis Mekhanikov
Sriveena, Read-through works as follows: when you do a cache.get(...), and a record is not in the cache, then it goes to the configured CacheStore and requests the value from it. When the same key is read from cache next time, then call to the underlying database doesn't happen, and caches value

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread monstereo
thanks, then in hibernate l2 cache, we do not provide the specific data to load cache?(igniteCache.loadCache() ) but then, how many data will be in l2 cache, can I limit this space? ilya.kasnacheev wrote > Hello! > > From the comments of Java file linked: > > * When running example, it's easy

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread Ilya Kasnacheev
Hello! >From the comments of Java file linked: * When running example, it's easy to notice that when an object is first * put into a database, the L2 cache is not used and it's contents is empty. * However, *when an object is first read from the database, it is immediately* * *stored in L2 cache

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread monstereo
Thanks. I have seen this document before. However, I could not understand how datas are loading ignite cache(s)? Can you explain what is going on this .java class? ezhuravlev wrote > Looks like you read a wrong documentation, for Hibernate L2 cache you > don't > even need to implement

Re: Hibernate L2 cache with Ignite. How?

2018-07-10 Thread Evgenii Zhuravlev
Looks like you read a wrong documentation, for Hibernate L2 cache you don't even need to implement CacheStoreAdapter - it's needed only for using 3rd party db as a Cache Store. Here is the right documentation for using Ignite as L2 Hibernate cache:

Hibernate L2 cache with Ignite. How?

2018-07-10 Thread monstereo
Even I am using apache ignite documentation or High Performance In-Memory computing book, I could not understand. I have created simple cache with ignite (using postgresql) (implementing CacheStoreAdapter vs...) Also I have created simple hibernate project (gets data from database, update vs...)

Re: And again... Failed to get page IO instance (page content is corrupted)

2018-07-10 Thread slava.koptilin
Hello Oleksandr, The ignite-2.6 branch is already stabilized and frozen. I hope the voting will be opened today! You can follow this topic to get updates on this. http://apache-ignite-developers.2346864.n4.nabble.com/Ignite-2-6-emergency-release-suggestion-tc31340.html Thanks! -- Sent from:

RE: Information regarding Ignite Web Console

2018-07-10 Thread Sriveena Mattaparthi
Hi, How does DataGrid readthrough works? 1. How does it auto synchronize the cache with database data? 2. Will it poll the underlying database? 3. Will it incrementally pull the data based on the key specified on the cache? 4. Will the read through works if the cache

Re: OOME causing caches to be removed

2018-07-10 Thread djax
I use the following SQL sentence: CREATE TABLE user ( user_id BIGINT NOT NULL, db_id INTEGER NOT NULL, list_id INTEGER NOT NULL, con_id INTEGER NOT NULL, status VARCHAR NOT NULL, procedence VARCHAR,

RE: OptimizedMarshaller instead of BinaryMarshaller is usedforScanQuery

2018-07-10 Thread Stanislav Lukyanov
Hi Calvin, It seems that the code is incomplete. First, what are the Instant, DeltaMap types? What are the types stored in the Map fields? Second, do you have some code processing tool generating some code for you? E.g. I see that version() implementation is missing in WorkingSetLedgerDelta –

Authentication for Apache Ignite 2.5

2018-07-10 Thread SINORCHIAN Remus Alex
Hello, I would like to implement authentication for all the nodes of the cluster (client and server should provide username and password to join the cluster). I tried to use the latest version 2.5, which the documentation claims to provide authentication, but it doesn't implement it for all

Re: apache ignite atomicLong.incrementAndGet() is causing starvation in striped pool

2018-07-10 Thread vvasyuk
Hello Slava, Thank you for reply. Will try your solution. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Physical colocation of Ignite nodes in different JVM's

2018-07-10 Thread Grégory Jevardat de Fombelle
Hello On one hand I have a cluster of Ignite Server nodes target to store a partitioned cache. On the other hand I have some "legacy" compute code running in its own JVM on the same nodes as Ignite nodes. I would like to integrate in this compute JVM's an Ignite client joining the cluster