GemFire

registering PDX type in type registry with Geode C# native client

一个人想着一个人 提交于 2019-12-11 15:08:37
问题 I am trying to implement a very simple PDX autoserialization in Geode. I've created a domain class of my own with a zero arg constructor: public class TestPdx { public string Test1 { get; set; } public string Test2 { get; set; } public string Test3 { get; set; } public TestPdx() { } } Now I want this class to auto serialize. I start a server cache with the following cache.xml where I attempt to register this type for auto PDX: <?xml version="1.0" encoding="UTF-8"?> <cache xmlns:xsi="http:/

Apache calcite geode JDBC adapte not working with Gemfire 8.x and 9.X

≯℡__Kan透↙ 提交于 2019-12-11 14:49:42
问题 I am trying to connect Gemfire 8.2 using apache calcite geode adopter. As per following logs its connectied properly but while try to execute query getting exception . Note : http://calcite.apache.org/news/2018/03/19/release-1.16.0/ Moreover, a new adapter to read data from Apache Geode was added in this release. In addition, more progress has been made for the existing adapters 1) Connection class package com.khan.vaquar; import java.sql.Connection; import java.sql.DriverManager; import java

minimal test with apache geode

风流意气都作罢 提交于 2019-12-11 09:41:59
问题 I would like to extend geode with custom binary data (serialization). Is there any documentation about how to kickoff a minimal setup/system using geode? I saw a docker image but didn't find any docs on this. It would be more than enough for me to have a c++ client which can push and query the stored (~30 GB of) data by a key. Thank you very much for your help! 回答1: Checkout... https://cwiki.apache.org/confluence/display/GEODE/Index#Index-Geodein5minutes There is more information on the Geode

Docker Geode remote locator

杀马特。学长 韩版系。学妹 提交于 2019-12-11 08:38:18
问题 I have 2 hosts on which I am running Docker, I have successfully started a Geode Locator and Server on my first host. However, when I try to start a new Geode locator on the 2nd server: start server --name=aloha --locators=myCache[10334] I get the following error: [info 2017/11/18 10:44:17.228 UTC aloha <main> tid=0x1] Starting membership services [info 2017/11/18 10:44:17.304 UTC aloha <main> tid=0x1] JGroups channel created (took 76ms) [info 2017/11/18 10:44:17.317 UTC aloha <main> tid=0x1]

Geode native client deserialise PdxInstanceImpl

若如初见. 提交于 2019-12-11 00:16:05
问题 I have a REST client that populates a Geode region with Json data which the Geode REST API automatically converts to a PdxInstance type. The region triggers a C# native client listener AfterCreate(EntryEvent<TKey, TVal> ev) in which the TVal type ev.NewValue is seen as type PdxInstanceImpl and looks like: PDX[7534066,__GEMFIRE_JSON]{@type=MyClass, Field1=Value1, Field2=Value2} I've seen from here that the following code can get at the individual Pdx fields IPdxInstance pdx = (IPdxInstance)ev

How do I set the Hibernate dialect in SpringBoot?

三世轮回 提交于 2019-12-10 12:46:55
问题 I have a custom dialect to set for Hibernate in SpringBoot. The dialect is for Gemfire. The instructions (https://discuss.zendesk.com/hc/en-us/articles/201724017-Pivotal-GemFire-XD-Hibernate-Dialect) are for XML-based config. However, I am using SpringBoot and I cannot figure out how to set this property. The dialect is "com.pivotal.gemfirexd.hibernate.GemFireXDDialect" 回答1: In application.properties spring.jpa.properties.hibernate.dialect = com.pivotal.gemfirexd.hibernate.GemFireXDDialect

Values are not being populated into gemfire cache

六月ゝ 毕业季﹏ 提交于 2019-12-10 11:49:56
问题 I have 2 xml config files as below app-context.xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:gfe="http://www.springframework.org/schema/gemfire" xmlns:util="http://www.springframework.org/schema/util" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/gemfire

Start-Locator / Locators, which is for client and which is for server?

旧城冷巷雨未停 提交于 2019-12-08 00:31:27
问题 I have been configuring Pivotal GemFire like this example: @Configuration public class GemfireConfiguration { @Bean Properties gemfireProperties() { Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name","SpringDataGemFireApplication"); gemfireProperties.setProperty("mcast-port", "0"); gemfireProperties.setProperty("log-level", "config"); return gemfireProperties; } @Bean CacheFactoryBean gemfireCache() { CacheFactoryBean gemfireCache = new CacheFactoryBean();

Start-Locator / Locators, which is for client and which is for server?

醉酒当歌 提交于 2019-12-06 07:32:49
I have been configuring Pivotal GemFire like this example: @Configuration public class GemfireConfiguration { @Bean Properties gemfireProperties() { Properties gemfireProperties = new Properties(); gemfireProperties.setProperty("name","SpringDataGemFireApplication"); gemfireProperties.setProperty("mcast-port", "0"); gemfireProperties.setProperty("log-level", "config"); return gemfireProperties; } @Bean CacheFactoryBean gemfireCache() { CacheFactoryBean gemfireCache = new CacheFactoryBean(); gemfireCache.setClose(true); gemfireCache.setProperties(gemfireProperties()); return gemfireCache; }

Apache Ignite(一):简介以及和Coherence、Gemfire、Redis等的比较

≯℡__Kan透↙ 提交于 2019-12-03 12:45:49
1.Ignite简介 Apache Ignite 内存数据组织框架是一个高性能、集成化和分布式的内存计算和事务平台,用于大规模的数据集处理,比传统的基于磁盘或闪存的技术具有更高的性能,同时他还为应用和不同的数据源之间提供高性能、分布式内存中数据组织管理的功能。 2.Ignite历史 Ignite来源于尼基塔·伊万诺夫于2007年创建的GridGain系统公司开发的GridGain软件,尼基塔领导公司开发了领先的分布式内存片内数据处理技术-领先的Java内存片内计算平台,今天在全世界每10秒它就会启动运行一次。他有超过20年的软件应用开发经验,创建了HPC和中间件平台,并在一些创业公司和知名企业都做出过贡献,包括Adaptec, Visa和BEA Systems。尼基塔也是使用Java技术作为服务器端开发应用的先驱者,1996年他在为欧洲大型系统做集成工作时他就进行了相关实践。 2014年3月,GridGain公司将该软件90%以上的功能和代码开源,仅在商业版中保留了高端企业级功能,如安全性,数据中心复制,先进的管理和监控等。2015年1月,GridGain通过Apache 2.0许可进入Apache的孵化器进行孵化,很快就于8月25日毕业并且成为Apache的顶级项目,9月28日即发布了1.4.0版,2016年1月初发布了1.5.0版,应该说发展、迭代速度非常快。该技术相关资料较少