ignite

Implementing Authentication in IgniteDB

烂漫一生 提交于 2020-01-25 07:53:10
问题 I just configured authentication in IgniteDB ( a specific server, not a localhost ) https://apacheignite.readme.io/docs/advanced-security However I encountered some issue while trying to connect. Where should I provide the credential? TcpDiscoverySpi spi = new TcpDiscoverySpi(); TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryMulticastIpFinder(); String ipList = appConfig.getIgniteIPAddressList(); List<String> addressList= Arrays.asList(ipList.split(";")); ipFinder.setAddresses(addressList)

Ignite web session clustering : Class not found exception

雨燕双飞 提交于 2020-01-22 03:41:09
问题 I have integrate latest ignite for cache and web session clustering ...while session caching i got an error - Failed to update web session: null org.apache.jasper.JasperException: class org.apache.ignite.IgniteException: class org.apache.ignite.IgniteCheckedException: com.bizmatics.prognocis.view.MenuHistoryView at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:604) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514) at org

Job Stealing Configuration not working in Apache Ignite

时光毁灭记忆、已成空白 提交于 2020-01-21 10:24:41
问题 I have the following configuration file <bean abstract="true" id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="peerClassLoadingEnabled" value="true"/> <property name="includeEventTypes"> <list> <!--Task execution events--> <util:constant static-field="org.apache.ignite.events.EventType.EVT_TASK_STARTED"/> <util:constant static-field="org.apache.ignite.events.EventType.EVT_TASK_FINISHED"/> <util:constant static-field="org.apache.ignite.events

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

apache ignite 1.6.0 xa resource enlist in existing jta transaction

半世苍凉 提交于 2020-01-17 00:40:10
问题 Ignite ignite = Ignition.start(); How to make this ignite instance fall into existing jta transaction.. Tried.. TransactionConfiguration transactionConfiguration = new TransactionConfiguration(); Factory factory = FactoryBuilder.factoryOf(userTransactionManager); transactionConfiguration.setTxManagerFactory(factory); transactionConfiguration.setUseJtaSynchronization(true); How to corellate these TransactionConfiguration with the instance of ignite..!! Any help..! Referred .. http:/

Apache Ignite cache empty, table has values

别等时光非礼了梦想. 提交于 2020-01-15 05:01:10
问题 I have a basic Ignite persistence setup working. For now, it's a single node running in server mode, from which I connect two clients. When I insert data via SQL from one of these clients ("Client 1" below), I can SELECT it again with SQL and get results back. From "Client 2" below, when I try to grab the cache which ought to have been created to represent this table, it is null. The server runs the apacheignite image using the following Dockerfile: server/Dockerfile: FROM apacheignite/ignite

Apache Ignite cache event registration not working

痞子三分冷 提交于 2020-01-07 04:19:48
问题 I am trying to run following sample code. When I am running Apache Ignite server as stand alone service and run code as client then it does not work. I am unable to identify what I have missed. I am referring link https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheEventsExample.java and I am interested to get the drop events. package ignite; import static org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT; import static org.apache

Ignite doesn't free memory after cache destroy

我们两清 提交于 2020-01-06 23:51:36
问题 I'm using Ignite engine as a bean inside a Spring boot web application. The cache configuration is as follows: <bean id="ignite" class="org.apache.ignite.IgniteSpringBean"> <property name="configuration"> <bean id="ignite.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="cacheConfiguration"> <list> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="atomicityMode" value="TRANSACTIONAL" /> <property name="cacheMode" value=

Does Apache.Ignite.Linq support async/await?

微笑、不失礼 提交于 2020-01-06 06:48:27
问题 The official documenation of version 2.3 https://apacheignite-sql.readme.io/docs/linq states this sample: ICache<EmployeeKey, Employee> employeeCache = ignite.GetCache<EmployeeKey, Employee>(CacheName); IQueryable<ICacheEntry<EmployeeKey, Employee>> queryable = cache.AsCacheQueryable(); Employee[] interns = queryable.Where(emp => emp.Value.IsIntern).ToArray(); I saw that ICache{TK, TV} has plenty of async support and am wondering whether it is possible to run Linq queries with async/await?

How do I enable ignite-http-rest module when using the .Net NuGet Apache Ignite package?

半腔热情 提交于 2020-01-06 02:18:46
问题 I have a .Net console project referencing the Apache Ignite Nuget package. I'm interested in running the ignite-rest-http module within this same process. I'm using Apache Ignite 2.0. I'm referring to the Apache Ignite REST Api as described here: https://apacheignite.readme.io/docs/rest-api I've tried the "Getting Started": To enable HTTP connectivity, make sure that ignite-rest-http module is in classpath. With binary distribution this means copying libs\optional\ignite-rest-http to libs