gridgain

Are Ignite's SQL Queries Transactional?

强颜欢笑 提交于 2021-01-28 20:10:52
问题 We are implementing Apache Ignite's transaction using org.apache.ignite.transactions. Transaction object. But we would like to know if it supports SQL Querying. 回答1: No, you can't properly use SQL transactions, though Ignite has an experimental support for MVCC. I'd suggest you to keep using the Transaction object and K-V API. Please, follow the links: https://apacheignite.readme.io/docs/transactions#section-atomicity-mode and https://apacheignite-sql.readme.io/docs/multiversion-concurrency

Apache Ignite 2.7.5 Monitoring metrics

邮差的信 提交于 2020-12-15 01:52:12
问题 This is the ignite(version 2.7.5) configuration that I am using for my 2-node PARTITIONED cluster. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- Enable annotation-driven caching. --> <bean name="noOpFailureHandler" class="org.apache.ignite.failure.NoOpFailureHandler"/> <bean id="ignite.cfg" class=

Apache Ignite 2.7.5 Monitoring metrics

核能气质少年 提交于 2020-12-15 01:49:00
问题 This is the ignite(version 2.7.5) configuration that I am using for my 2-node PARTITIONED cluster. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- Enable annotation-driven caching. --> <bean name="noOpFailureHandler" class="org.apache.ignite.failure.NoOpFailureHandler"/> <bean id="ignite.cfg" class=

Apache Ignite 2.7.5 Monitoring metrics

我怕爱的太早我们不能终老 提交于 2020-12-15 01:45:53
问题 This is the ignite(version 2.7.5) configuration that I am using for my 2-node PARTITIONED cluster. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <!-- Enable annotation-driven caching. --> <bean name="noOpFailureHandler" class="org.apache.ignite.failure.NoOpFailureHandler"/> <bean id="ignite.cfg" class=

GridGain REST client to

我的未来我决定 提交于 2020-01-25 15:18:25
问题 I've dug around and found the following but where not particularly useful (and why) - Does GridGain support SSL connection between each cluster member? was this wasn't so much useful as it didn't give much information on actually running and using the client - http://atlassian.gridgain.com/wiki/display/GG60/HTTP+Client unlike other parts of the documentation which comes with examples, the GridGain docs for HTTP REST client just shows you the fields and its properties What I am trying to do: I

Regular & Spring Data based cache operations fail with CacheStoppedException post manual reconnect with clientReconnectDisabled as true

喜欢而已 提交于 2020-01-17 01:44:06
问题 We are running version 2.4 & using Spring IgniteSpringBean & Spring Data repositories for cluster & cache access. Since we have been having a lot of IgniteClientDisconnectedException related issues, i am writing a manual segmentation resolver (by disabling automatic client reconnection with clientReconnectDisabled set to true) which would detect this condition (using a simple cache query that runs periodically) & initiate a disconnect via IgniteSpringBean#close followed by a reconnect with

Does GridGain support SSL connection between each cluster member?

爱⌒轻易说出口 提交于 2020-01-06 08:48:29
问题 Does GridGain support SSL connection between each cluster member? If yes, can you show me how to do that? Thanks, Bill 回答1: GridGain supports SSL only for client connections (GridGain provides .NET and C++ thin clients), but not for communication between nodes. To enable SSL for client connections, configure your server nodes like this: <bean id="grid.cfg" class="org.gridgain.grid.GridConfiguration"> <!-- Enable REST. --> <property name="restEnabled" value="true"/> <!-- Client connection

Gridgain leader election pattern

风格不统一 提交于 2020-01-01 19:56:26
问题 What is the advised approach to ensuring a particular process is running exactly once within the grid? Usecase would be subscription of a single multiplexed stream from a remote source in order to update data across the grid. We need to elect the node to subscribe and elect a new node to subscribe when that node fails. Is there any pre-built pattern for this in gridgain or is it solved by a combination of listening to grid lifecycle events and a distributed CAS operation? Another usecase

How to sum an array of doubles with ignite data grid / sql?

我怕爱的太早我们不能终老 提交于 2019-12-24 23:22:36
问题 How to sum an array of doubles with ignite data grid / sql? Given: 1 dimension table MyDimension and 1 fact table MyFact . Join them, group by a few dimensions ** and sum the fact associated with it. Now consider the fact table to sum, doesn't contain a single double value, but an array of doubles. And the sum to retrieve, is an array representing the sum of all the arrays. As an example words: Assume "All the arrays are": array 1: double[] { 1.0, 2.0, 3.0, 4.0, 5.0 } array 2: double[] { 2.0,

Putting cache entries to specific Ignite Server

孤人 提交于 2019-12-24 07:08:25
问题 I have an Ignite data grid of five servers(say A,B,C,D and E). A partitioned cache has been distributed across these five servers with the number of backups set as 1. I want to store 100 million entries in this partitioned cache. But, I want to control the partitioning of my cache entries to the Ignite servers. Is it possible that I can direct my Ignite client to put a cache entry on a particular server (say E)? 回答1: The only way to do this is to implement your own Affinity Function instead