Re: Apache Geode | Client Private Cache

2021-07-08 Thread John Blum
Regarding CQ (as pointed out by Anthony), keep in mind that CQs, unlike Register Interest (RI), do not update any values in the local, client-side cache (e.g. CACHING_PROXY). CQ only allows you to receive "events" when the data of "interest" (expressed by the OQL predicate) changes on the server

Re: JDK 16 Support?

2021-05-10 Thread John Blum
Manager.java:162) at org.apache.geode.cache.lucene.internal.LuceneBucketListener.lambda$afterPrimary$0(LuceneBucketListener.java:40) ____ From: John Blum Sent: Monday, May 10, 2021 11:19 AM To: d...@geode.apache.org ; user@geode.apache.org Subject: Re: JDK 16 Support? Thanks Bil

Re: JDK 16 Support?

2021-05-10 Thread John Blum
-9081 (landed on 3/30/21 on the develop branch) might get you a little bit further. That commit 7ac9d7e4f0d04c99298067ca0611d9326e96d9cf eliminated the reflective field access in favor of some simpler down-casting. On Wed, May 5, 2021 at 9:06 AM John Blum mailto:jb...@vmware.com>> wrote:

Re: JDK 16 Support?

2021-05-05 Thread John Blum
setup on Java 16 already/yet? Just curious if there are any more downstream issues I have yet to encounter on Java 16? I suppose I will know more once I try Dan's suggestion with the JVM option. Thanks, -j From: John Blum Sent: Wednesday, May 5, 2021 9:35

Re: JDK 16 Support?

2021-05-05 Thread John Blum
Unknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2uJi3PgS0jYcK5gRuo1HHF8kBge1NXrjbKW6Y2%2Fg00w%3D&reserved=0> -Jake On May 5, 2021, at 9:19 AM, John Blum mailto:jb...@vmware.com>> wrote: Hi Dan- Thanks for the tip. I can certainly give

Re: JDK 16 Support?

2021-05-05 Thread John Blum
e doing this. -Dan ____ From: John Blum Sent: Wednesday, May 5, 2021 7:57 AM To: geode ; user@geode.apache.org Subject: JDK 16 Support? What is the plan to support Java 16 for Apache Geode? Timeframe? Running Apache Geode on a Java 16 Runtime produces error

Re: JDK 16 Support?

2021-05-05 Thread John Blum
y LTS version of Java and clearly we would need to fix errors like this. Do you see a need to support Java 16 now? Anthony On May 5, 2021, at 7:57 AM, John Blum mailto:jb...@vmware.com>> wrote: What is the plan to support Java 16 for Apache Geode? Timeframe? Running Apache Geode o

JDK 16 Support?

2021-05-05 Thread John Blum
What is the plan to support Java 16 for Apache Geode? Timeframe? Running Apache Geode on a Java 16 Runtime produces errors like the following: - org.apache.geode.InternalGemFireException: unable to retrieve underlying byte buffer - at org.apache.geode.internal.net.BufferPool.getPoolableBuffe

Re: Geode REST API - Question

2020-09-08 Thread John Blum
/docs.spring.io/spring-boot-data-geode-build/1.4.0-SNAPSHOT/reference/html5/#geode-docker [2] https://docs.spring.io/spring-boot-data-geode-build/1.4.0-SNAPSHOT/reference/html5/#geode-configuration-declarative-annotations-productivity-enableclusteraware ____ From: John

Re: Geode REST API - Question

2020-09-08 Thread John Blum
ringframework/data/gemfire/config/annotation/EnableClusterConfigurationIntegrationTests.java [3] https://github.com/apache/geode/blob/rel/v1.12.0/geode-core/src/main/java/org/apache/geode/management/internal/ManagementAgent.java#L215 [4] https://jira.spring.io/browse/DATAGEODE-366 ___

Re: OQL Method Authorizer Blog

2020-02-14 Thread John Blum
+1 Good read, Juan. Nice job! On Fri, Feb 14, 2020 at 9:59 AM Jason Huynh wrote: > Great job Juan! Very informative and detailed read. > > On Fri, Feb 14, 2020 at 4:43 AM Nabarun Nag wrote: > > > Hi Geode Community, > > > > Please do visit the blog that Juan Ramos has put up on the OQL Method

Re: ClientCache didn't close properly

2020-02-11 Thread John Blum
o/spring-data/geode/docs/current/reference/html/#function-execution [4] https://docs.spring.io/spring-data/geode/docs/current/reference/html/# [5] https://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/execute/Execution.html [6] https://geode.apache.org/releases/latest/javadoc/org/apac

Re: ClientCache didn't close properly

2020-02-07 Thread John Blum
These sort of problems are the exact types of things that *Spring Test for Apache Geode* (STDG) [1] was designed to handle. I experienced similar problems while testing features in the SDG, SSDG and SBDG projects, which is how STDG came to be. However, since you are not using *Spring* in this cas

Re: WAN replication of transactions

2020-01-20 Thread John Blum
>From within... class MyTransactionListener extends TransactionListenerAdapter { public void commit(TransactionEvent event) { List> cacheEvents = event.getEvents(); // Null check shouldn't be necessary but... // I don't trust the Geode API to do the right thing and... // I hav

Re: DockerHub 'apachegeode' profile...

2019-12-18 Thread John Blum
Can we please make this a HTTPS URL? https://geode.apache.org Thanks! On Wed, Dec 18, 2019 at 3:05 PM Anthony Baker wrote: > Fixed, thanks for raising this issue. > > Anthony > > > On Dec 18, 2019, at 3:01 PM, John Blum wrote: > > I was just noticing on *DockerHub*

DockerHub 'apachegeode' profile...

2019-12-18 Thread John Blum
I was just noticing on *DockerHub* that someone may want to update the ' *apachegeode*' profile (https://hub.docker.com/u/apachegeode) (home) URL. The home URL still refers to http://geode.incubator.apache.org and probably should be updated to https://geode.apache.org. Regards, -- -John Spring

Re: region name is incorrect while trying to get using region.get

2019-12-03 Thread John Blum
This is an old bug (which was most certainly present in Apache Geode 1.1 since I think I remember seeing this bug all the way up through 1.3). Technically, IIRC, there is no Region on the server by the name indicated in the misleading error message, /AuthIdRegion/AuthIdRegion, it was simply a probl

Re: [ANNOUNCE] Apache Geode 1.10.0

2019-09-26 Thread John Blum
Congrats!!! Nice work! On Thu, Sep 26, 2019 at 2:08 PM Dick Cavender wrote: > The Apache Geode community is pleased to announce the availability of > Apache Geode 1.10.0. > > Apache Geode is a data management platform that provides a database-like > consistency model, reliable transaction proce

Re: [ANNOUNCE] Apache Geode 1.9.1

2019-09-06 Thread John Blum
Congrats Geode Community! On Fri, Sep 6, 2019 at 11:04 AM Owen Nichols wrote: > The Apache Geode community is pleased to announce the availability of > Apache Geode 1.9.1. > > Apache Geode is a data management platform that provides a database-like > consistency model, reliable transaction proce

Re: About single-hop access to partitioned regions and number of client connections

2019-07-23 Thread John Blum
It is also worth mentioning that client connections can be controlled (limited) on the server-side with the CacheServer.setMaxConnections(:int). [1] I am not sure this would help on the client though if you have a large number of Threads consuming connections from the Pool and attempting to reach t

[RELEASE] Spring for Apache Geode Release & Feature Update

2019-07-03 Thread John Blum
Greetings Apache Geode community- I wanted to take this opportunity and let you all know about the recent developments in the *Spring* ecosystem as it relates to Apache Geode for all you *Spring* users out there. ~~ 1. *Spring Data for Apache Geode* (SDG) Lovelace-SR9 (2.1.9.RELEASE) a

Spring Boot for Apache Geode 1.1.0.M1 Released!

2019-05-07 Thread John Blum
I am pleased to announce the release of *Spring Boot for Apache Geode* (SBDG) 1.1.0.M1. See the official release announcement here: https://spring.io/blog/2019/05/07/spring-boot-for-apache-geode-pivotal-gemfire-1-1-0-m1-released The 1.1 Milestone 1 (M1) release primarily rebases SBDG on the lates

[ANNOUNCE] Spring Boot for Apache Geode 1.0.0.RELEASE Available!

2019-05-06 Thread John Blum
It is my pleasure to announce the first GA release of Spring Boot for Apache Geode (SBDG) 1.0.0.RELEASE. See the official release announcement on spring.io for more details: https://spring.io/blog/2019/05/07/spring-boot-for-apache-geode-pivotal-gemfire-1-0-0-release-available Feedback appreciate

[ANNOUNCE] Spring Boot for Apache Geode 1.0.0.RC2 Available!

2019-05-01 Thread John Blum
I am pleased to announce the release of *Spring Boot for Apache Geode* (SBDG) 1.0.0.RC2. You can read more details in the official release announcement on the spring.io/blog [1]. Given feedback from the Boot team, I decided to postpone the 1.0 GA and push out 1 more release candidate. The final

[ANNOUNCE] Spring Boot for Apache Geode 1.0.0.RC1 Released!

2019-04-24 Thread John Blum
I am pleased to announce the release of *Spring Boot for Apache Geode* (SBDG) 1.0.0.RC1. You can read more details in the official release announcement on the spring.io/blog [1]. I have tentatively scheduled the final GA release of SBDG 1.0 on Monday, April 29th, 2019. Any feedback between now a

[ANNOUNCE] Spring Boot for Apache Geode 1.0.0.M4 Available!

2019-03-22 Thread John Blum
Greetings Apache Geode community and Spring users- I am pleased to bring you the *Spring Boot for Apache Geode* (SBDG) 1.0.0.M4 release. You can read the official announcement on the Spring Blog [1] to find out more details. Next up will be SBDG 1.0.0.RC1 followed shortly by a final 1.0.0.GA as w

Re: NullPointerException with GMS services (Geode 1.6.0)

2019-01-28 Thread John Blum
Although, there is an apparent problem with your Locator configuration property, which can/will lead to an NPE thrown by Geode in this case (as I reported in https://issues.apache.org/jira/browse/GEODE-6153, which is not exactly the same as your problem), as Bruce points out, this is occurring duri

Re: NullPointerException with GMS services (Geode 1.6.0)

2019-01-28 Thread John Blum
Hi Dharam- Not sure the following problem would cause an NPE in GMS, but you have a typo in your config... spring.data.gemfire.cache.name = ${starfish.logging.apphome:starfish-server} *spring.data.gemfire.locators = ${starfish.locators:host1[10440],host2[1044o]}* spring.data.gemfire.cache.peer.

Re: server-bind-address and bind-address

2018-11-07 Thread John Blum
--sever-bind-address is used by to configure the NIC that the server uses to accept client connections. --bind-address is between peers. Only really useful in a multi-NIC system to channel traffic from clients and peer separately. On Wed, Nov 7, 2018 at 12:39 PM, Mike Stolz wrote: > I'm a litt

Re: High (Max) CPU

2018-11-02 Thread John Blum
e the associated AEQ set with parallel=true. Cheers, -j On Fri, Nov 2, 2018 at 11:07 AM, John Blum wrote: > Hi Rob- > > Please see here [1]. Default is 5 Threads. Also see [2]. > > Alternatively, look at [3] ( ..>) or [4] (create async-event-queue --dispatcher-threads). > &

Re: High (Max) CPU

2018-11-02 Thread John Blum
Hi Rob- Please see here [1]. Default is 5 Threads. Also see [2]. Alternatively, look at [3] () or [4] (create async-event-queue --dispatcher-threads). The threads should not be having an impact, but you can experiment with the number to find out. -j [1] http://geode.apache.org/releases/lat

Re: Help with geode transactions

2018-10-25 Thread John Blum
Hi Dharam- I was pinged by the team with questions about Apache Geode cache transactions inside a *Spring* application context, specifically using SDG to configure and enable Apache Geode's cache transaction management capabilities, i.e. by using the Geode's o.a.g.cache.CacheTransactionManager [1]

Re: Pool unexpected socket timed out on client

2018-10-19 Thread John Blum
Yes, as Anthony and Udo point out, I would verify the resources utilization on your clients. You can also verify/change the PING interval used by the client Pool configuration [1] to let the server know that your client(s) are still around. But, that will not help much if the client is resource s

Re: Apache calcite geode security

2018-10-16 Thread John Blum
ere: https://docs.spring.io/autorepo/docs/spring-boot-data-geode-build/1.0.0.BUILD-SNAPSHOT/reference/htmlsingle/#geode-security-auth-clients-non-managed Cheers, John On Tue, Oct 16, 2018 at 10:45 AM, John Blum wrote: > If you are using Spring, and specifically Spring Data for Apache Geode

Re: Apache calcite geode security

2018-10-16 Thread John Blum
ess control. >>> >>> As for LDAP - some commercial customers use this implementation which >>> extends Shiro. https://github.com/Pivotal-Field-Engineering/pivotal- >>> gemfire-ldap Hopefully the instructions on the git repo are good enough. >>> >&g

Re: Apache calcite geode security

2018-10-12 Thread John Blum
Hi Ashish- I am not certain how or if Christian tied the Apache Calcite based SQL interface into Geode's security model/framework, but rather than implementing your own SecurityManager interface [1], I would highly recommend you consider using Apache Geode's, Apache Shiro [2] integration. Unfortu

Re: TransactionListener/Writer with spring-data-geode

2018-10-07 Thread John Blum
Hi Dharam Yes, of course. With Apache Geode, transaction management is applied at the cache-level, as "local", cache-based transactions. Therefore, it is only logical for the configuration of Geode's cache-based transaction management to be (indirectly) set on the cache itself, which is then reg

Re: groups property using spring-data-geode

2018-10-04 Thread John Blum
Hi Dharam- Yes, CacheServer.setGroups(:String[]) [1] has been deprecated since Pivotal GemFire 7.0 (well before Apache Geode's time) in favor of the gemfire.groups System property [2]. There are many ways to define this property. 1) You can set the gemfire.groups property as a Java System proper

Spring for Apache Geode Releases!

2018-08-31 Thread John Blum
Greetings Apache Geode Community- It is my please to announce several *Spring* releases related to the Apache Geode project. * First up, *Spring Data for Apache Geode* (SDG) 2.0.9.RELEASE (Kay-SR9) [1] and *Spring Data for Apache Geode* 2.1.0.RC2 (Lovelace-RC2) [2] are available. * Then, *Sprin

Re: Setup Geode cluster in GCP/AWS and connect it from local laptop

2018-07-28 Thread John Blum
You can use Apache POI API (https://poi.apache.org/) to read a MS Excel document, construct an object from the Excel data and then store the object in Geode. On Sat, Jul 28, 2018 at 5:45 AM, Luke Shannon wrote: > This loads several csv into geode: > > https://github.com/Pivotal-Open-Source-Hub/g

Re: Spark streaming output to geode

2018-07-17 Thread John Blum
Hi Trung- You definitely should not be opening and closing a connection each time you process a record; that is excessive. I can tell you right now that, between clientCache.close(), say, in the first iteration, and ClientCacheFactory.create() in the second iteration, it is unlikely that Geode co

Re: Debug Functions on server via Idea...timeout

2018-07-10 Thread John Blum
Hi Pieter - Yes, set the member-timeout Geode property when debugging, and then set breakpoints in whatever user-defined code you have deployed on the server (e.g. *Functions*, CacheListeners/Loaders/Writers, etc) and you will be all set. For example [1]. -j [1] https://github.com/spring-project

Re: Issue with TombstoneService

2018-07-09 Thread John Blum
Jul 9, 2018 at 12:44 PM, John Blum wrote: > Apache Geode 1.3 and higher is not going to work with SDG 2.0.x (SD Kay). > SDG 2.0.x is fixed on Apache Geode 1.2.x [1] since there are significant > API changes in Geode after 1.2. > > To use SDG with the latest version of Apache Geode

Re: Issue with TombstoneService

2018-07-09 Thread John Blum
Apache Geode 1.3 and higher is not going to work with SDG 2.0.x (SD Kay). SDG 2.0.x is fixed on Apache Geode 1.2.x [1] since there are significant API changes in Geode after 1.2. To use SDG with the latest version of Apache Geode (i.e. 1.6), you must use SD Lovelace, or SDG 2.1.x, which is current

Re: Spring data gemfire functions

2018-06-19 Thread John Blum
Hi Dharam- First, I apologize for the extremely late response here. I have been busy working on a few SD releases (for *Ingalls* and *Kay*) and I have been trying to get the first milestone bits out for my new project, *Spring Boot for Apache Geode & Pivotal GemFire (SBDG)* [1], which is nearly c

Re: Correct way to create disk-store

2018-06-19 Thread John Blum
You must first create a DiskStore using... gfsh> create disk-store --name=ExampleDiskStore --dir=/file/system/pathname/to/directory/in/which/to/write/disk/store/files --dir=/another/file/system/pathname ... See here [1] for more details. Then you can define your Region... gfsh> create region -

Re: Function execution breaks with NoClassDefFoundError: Lorg/eclipse/jetty/server/Server

2018-05-29 Thread John Blum
Because you enabled Management functionality on the *Spring*-configured Geode Server started with *Gfsh.*.. info pvz-dell.lautus.net[10334] pvz-dell.lautus.net[10334] 0 *0* *true1099true* And had the Management HTTP port been enabled (i.e. not 0

Re: NotSerializableException: org.apache.geode.internal.cache.Token$NotAvailable after server restart

2018-05-22 Thread John Blum
Pieter- Regarding your (previously) serialization issue, see this... https://issues.apache.org/jira/browse/GEODE-4822?focusedCommentId=16484267&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16484267 Regards, -John On Tue, May 22, 2018 at 8:57 AM, Pieter van Zyl

Re: AuthenticationRequiredException on force disconnection

2018-04-21 Thread John Blum
ev > –servername=eventserver1 [So many overrides as per need] > > *Note*: startApplication is generic startup shell script which helps to > create JAVA_OPTS from template. > > Thanks, > > Dharam > > > > *From:* Bruce Schuchardt [mailtobschucha...@pivotal.io] > *Sent:* F

Re: AuthenticationRequiredException on force disconnection

2018-04-19 Thread John Blum
” on node restart > where I am assuming that it might be setting some value by default. I am > not sure as it’s masked. > > > > > > *Ok. I would request geode team to validate on issue part.* > > > > But the point for *spring data geode* is, > > >&

Re: SDG and Geode 1.4+ issue

2018-04-17 Thread John Blum
Correction... Also, I have created *version compatibility Wiki page* for Spring Data GemFire *and Pivotal GemFire *[1]; I will make it a point to do the same for Spring Data Geode *and **Apache Geode*. On Tue, Apr 17, 2018 at 9:55 AM, John Blum wrote: > Hi Dennis- > > For a schedu

Re: SDG and Geode 1.4+ issue

2018-04-17 Thread John Blum
, Apr 17, 2018 at 9:18 AM, Dennis Dai wrote: > Great, thanks for the info! I will just stick with 1.2.1 for now. > > Dennis Dai > d...@epaysol.com > > On Apr 16, 2018, at 8:38 PM, John Blum wrote: > > Dennis- > > SDG 2.0.6.RELEASE (SD Kay-SR6) is based [1] on Apache Ge

Re: SDG and Geode 1.4+ issue

2018-04-16 Thread John Blum
Dennis- SDG 2.0.6.RELEASE (SD Kay-SR6) is based [1] on Apache Geode 1.2.1. SDG 2.0.x cannot be bumped to a different minor version of Apache Geode (e.g. 1.2 -> 1.3/4/5) due to issues like you found. SDG 2.1.0 (SD Lovelace), currently at 2.1.0.M2 (SD Lovelace-M2) is based [2] on Apache Geode 1.4,

Re: AuthenticationRequiredException on force disconnection

2018-04-16 Thread John Blum
> > >> *How to deal with such scenario where node is no more a part of > distributed system but app is running?* > > > > Usually one would like to take some automated corrective action on such > alerts. > > > > Thanks & Regards, > > Dharam > > > &g

Re: AuthenticationRequiredException on force disconnection

2018-04-16 Thread John Blum
3) > > at org.apache.geode.distributed.internal.DistributionManager$ > MyListener.membershipFailure(DistributionManager.java:4307) > > > > John, > > > > This does not kill GEODE application. It still runs as it is. This makes > APM tool to assume that ap

Re: AuthenticationRequiredException on force disconnection

2018-04-12 Thread John Blum
Regarding *Spring*, not really too differently actually, see here [1] (XML) and here

Spring for Apache Geode Announcements...

2018-03-01 Thread John Blum
Greetings Apache Geode Community- It is my pleasure to follow-up with several announcements and releases concerning the Apache Geode ecosystem from the Spring portfolio. 1. First, we moved 2 versions since my last announcement [1] to *Spring Data for Apache Geode* *2.0.5.RELEASE* (*Kay-SR5*). 1

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread John Blum
in gfsh. > I am sure the concept can be useful in other creation mechanism as long as > they have a way to ensure that those callback are available on the member > where they are trying to create the region. > > On Wed, Feb 7, 2018 at 10:56 AM, John Blum wrote: > >> +

Re: [PROPOSAL]: deprecating create region using --template-region option

2018-02-07 Thread John Blum
+0 As an FYI, *Spring Data Geode/GemFire* already provides such a capability [1], which makes much more sense from an application standpoint than a tooling standpoint. Having said that, I would also add that this capability is 1 of the more popular features in SDG (particularly from customers).

Re: [ANNOUNCE] Apache Geode 1.4.0

2018-02-05 Thread John Blum
Congrats! On Mon, Feb 5, 2018 at 2:10 AM, Swapnil Bawaskar wrote: > The Apache Geode community is pleased to announce the availability of > Apache Geode 1.4.0. > > Apache Geode is a data management platform that provides a database-like > consistency model, reliable transaction processing and a

Roadmap and Upcoming Features for Spring Data for Apache Geode 2.1 (SD Lovelace)...

2018-01-24 Thread John Blum
Hi Apache Geode Community- Now that SDG 2.0 is fairly stable (entering its 3rd service release already now) and I have resolved all known issues, particularly with the new SDG Annotation configuration, I figured I would take this opportunity to let you all know about some of the features I have pl

Spring Data for Apache Geode 2.0.3.RELEASE available!

2018-01-24 Thread John Blum
Apache Geode Community- I am very pleased to follow-up to the announcement by Mark Paluch on the release of Spring Data Kay SR3. This includes Spring Data for Apache Geode 2.0.3.RELEASE. The 3rd service release of SDG includes several import fixes and enhancements, particular around the new Anno

Spring Session for Apache Geode 2.0.0.RELEASE Available!

2018-01-18 Thread John Blum
Apache Geode Community- I am pleased to announce the General Availability (GA) of *Spring Session for Apache Geode* 2.0.0.RELEASE (SSDG), which is now available from Maven Central [1]. SSDG 2.0 GA builds on... * Spring Framework 5.0.2.RELEASE * Spring Data for Apache Geode 2.0.2.RELEASE * Spring

Re: Custom Partitioning and Restful Interface

2018-01-18 Thread John Blum
Effectively, your key needs to be representable in a JSON format and sent as a JSON String. Then, Apache Geode, using a Key constraint along with an appropriate registered (Spring) Converter, would automatically convert the JSON String to an Object of the required (key) type. I am a bit fuzzy on

Re: Handling multiple server groups in spring data geode client

2018-01-12 Thread John Blum
Re-replying to all for everyone's benefit. See *comments* below... On Thu, Jan 11, 2018 at 11:35 AM, John Blum wrote: > Comments below... > > On Thu, Jan 11, 2018 at 12:04 AM, Dharam Thacker < > dharamthacke...@gmail.com> wrote: > >> Hello John, >>

Re: Proposal on new features [Json Extension]

2018-01-10 Thread John Blum
ry Work (www.blackberry.com) > -- > *From: *"Thacker, Dharam" > *Sent: *Dec 27, 2017 14:03 > *To: *John Blum ; user@geode.apache.org > *Subject: *Proposal on new features [Json Extension] > > Hi John & Team, > > > > I would like to discuss about

Re: Handling multiple server groups in spring data geode client

2018-01-10 Thread John Blum
Hi Dharam- Regarding... *> 1. What is the best way to handle multiple pools each connecting to unique server group though sharing same set of locators?* I.e. you use the "locators" attribute instead of the nest xor elements. The "locators" attribute follows the same syntax as the Geode "loca

Re: Setting Scope on a Partitioned Regions is not allowed

2018-01-10 Thread John Blum
> partitioned region. I’d like to dig deeper into it. > > > > @Ani, ofc, are there any guides to follow to fire a ticket? > > > > Thank you all J > > > > *From:* John Blum [mailto:jb...@pivotal.io] > *Sent:* mardi 9 janvier 2018 18:58 > *To:* user@geode.a

Re: Setting Scope on a Partitioned Regions is not allowed

2018-01-09 Thread John Blum
Hi Hui- FYI, when using *Spring Data for Apache Geode* (SDG) [1], it is less confusing since SDG's XML namespace prevents a user from setting the scope of a partitioned Region. It is also more apparent what type of Region a user is creating. For example, SDG's XML namespace uses strongly typed e

Re: Spring data geode's functions not registered on server?

2017-12-15 Thread John Blum
#bootstrap-annotation-config-client-server-applications On Fri, Dec 15, 2017 at 7:13 PM, John Blum wrote: > Hi Dennis- > > As promised, I am following up with a concrete example (*function-example* > [1]); yay! > > Unfortunately, I have not documented this example yet

Re: Spring data geode's functions not registered on server?

2017-12-15 Thread John Blum
bug you reported in DATAGEODE-68 along the way and > resolved it with your suggestions. I also discovered a few minor typos in > the documentation, where should I report those? > > Thanks, > Dennis > > > On Dec 15, 2017, at 12:07 PM, John Blum wrote: > > Hi Dennis- >

Re: Spring data geode's functions not registered on server?

2017-12-15 Thread John Blum
Hi Dennis- I apologize for your troubles. I possibly need to refine the docs; I am open to any suggestions here on how I might make it more clear. I sense there is possibly some confusion around how multiple annotations work in tandem (e.g. @EnableEntityDefinedRegions with @EnableClusterConfigura

Re: Spring Data Geode Gemfire function batch size

2017-11-30 Thread John Blum
t; > wl...@pivotal.io > > > <https://springoneplatform.io/?utm_source=employee-email-footer&utm_medium=email-footer-link&utm_campaign=employee-gmail> > > <https://springoneplatform.io/?utm_source=employee-email-footer&utm_medium=email-footer-link&utm_campaign=employee

Re: Spring Data Geode Gemfire function batch size

2017-11-30 Thread John Blum
ill be awesome...I do think for large data sets this a must. > > On Fri, Dec 1, 2017 at 2:05 AM, John Blum wrote: > >> 1 last thing... >> >> If you run the PeerCacheFunctionExecutionResultStreamingIntegrationTests test >> class, you will see the effects of Function Str

Re: Spring Data Geode Gemfire function batch size

2017-11-30 Thread John Blum
1 last thing... If you run the PeerCacheFunctionExecutionResultStreamingIntegrationTests test class, you will see the effects of Function Stream Result processing in you IDE (or on the command-line). Enjoy! -j On Thu, Nov 30, 2017 at 12:31 PM, John Blum wrote: > Hi Amit, all- > >

Re: Spring Data Geode Gemfire function batch size

2017-11-30 Thread John Blum
Hi Amit, all- 2 things... 1. Have a look at... DATAGEODE-36 - "*Add Async, Reactive and Streaming capabilities to the Function Annotation support.*" [1] I already started experimenting with Streaming Function results here [2]. Essentially the only thing preventing Apache Geode from Streaming re

[ANNOUNCE] Spring Session for Apache Geode 2.0.0.RC2 Available!

2017-11-29 Thread John Blum
atform.io/ [3] https://springoneplatform.io/speakers/john-blum [4] https://github.com/spring-projects/spring-session-data-geode/issues [5] https://github.com/spring-projects/spring-session-data-geode/pulls [6] https://stackoverflow.com/questions/tagged/spring-session

[ANNOUNCE] Spring Data Geode 2.0.2.RELEASE (Kay SR2) Available!

2017-11-27 Thread John Blum
Greetings Apache Geode Community- It is my pleasure to announce the availability of *Spring Data* *Kay SR2* (*Service Release* 2) which includes *Spring Data Geode* *2.0.2.RELEASE*. The official release announcement is here... https://spring.io/blog/2017/11/27/spring-data-ingalls-sr9-an d-kay-sr

[ANNOUNCE] Spring Session Data Geode 2.0.0.RC2 Available

2017-11-07 Thread John Blum
Greetings Apache Geode Community- I am pleased to announce the release of *Spring Session Data Geode* 2.0.0.RC1. More details can be found in the official release announcement at [1]. Since 2.0.0.M2, *Spring Session* for Apache Geode supports PDX serialization of the HTTP session state. In this

Re: [ANNOUNCE] Apache Geode 1.3.0

2017-10-31 Thread John Blum
Congrats! On Tue, Oct 31, 2017 at 10:22 AM, Swapnil Bawaskar wrote: > The Apache Geode community is pleased to announce the availability > of Apache Geode 1.3.0. > > Apache Geode is a data management platform that provides a database-like > consistency model, reliable transaction processing and

Re: Regarding storing documents in Apache Geode

2017-10-26 Thread John Blum
Alternatively, you can, and probably should, store the documents as a byte array (in value) instead. On Fri, Oct 27, 2017 at 1:16 AM, Akihiro Kitada wrote: > Hello, > > I believe you can store any types of document files if you can convert > them into some types of java objects. > > > > > -- > A

Spring Data Geode vs. Spring Data GemFire; what's the diff?

2017-10-26 Thread John Blum
Greetings Apache Geode devs/users- For those of you also using *Spring Data Geode* with Apache Geode, and possibly considering moving to Pivotal GemFire, I have just wrote a blog post on spring.io/blog to discuss the differences between *Spring Data Geode* and *Spring Data GemFire* along with indi

Re: Executing function on partitioned region

2017-10-06 Thread John Blum
Well, it depends on whether the data of interests is on the node where the Developer REST API is running in the first place, since the Dev REST API can only run on a Geode Server. If the data of interests is on the server where the REST API is running, then no extra hop would be needed in that cas

[ANNOUNCE] Spring Session Data Geode 2.0.0.M2 Available...

2017-10-05 Thread John Blum
Greetings Apache Geode Community- I am pleased to announce 1 more release related to Apache Geode, *Spring Session* for Apache Geode 2.0.0.M2 (milestone 2) is now available. This release brings with some updates and improvements... 1. *Upgrades* to... -- *Spring Framework* 5 -- *Spring

[ANNOUNCE] Spring Data Geode 2.0.0.RELEASE (Kay GA) Available...

2017-10-05 Thread John Blum
Dear Geode Community- After almost 1 year of radio silence on all things related to *Spring Data Geode* for Apache Geode, it is my pleasure to inform you that *Spring Data Geode* *2.0.0.RELEASE* (Kay GA) is now available! [1] Many things have happened since my last announcement. First, *Spring D

Re: use pdx on server side function

2017-09-07 Thread John Blum
Nan- You set "read-serialized" to *true* [1], then a Region.get(key) returns a o.a.g.pdx.PdxInstance [2], from which you can call PdxInstance.getField(fieldName); [3] -John [1] http://gemfire-91-javadocs.docs.pivotal.io/org/apache/geode/cache/CacheFactory.html#setPdxReadSerialized-boolean- [2

Re: Help for spring data geode

2017-09-06 Thread John Blum
ways restart server?* Yes. A restart is required when updating any Geode Server dependency (e.g. Log4j), not just *Spring Boot*, *Spring Data Geode*, or *Spring* in general So there it is, I hope this helps! Regards, John On Wed, Sep 6, 2017 at 2:16 PM, John Blum wrote: > Hi Jayesh- > >

Re: Help for spring data geode

2017-09-06 Thread John Blum
unning servers via *Gfsh*. -John On Wed, Sep 6, 2017 at 2:00 PM, John Blum wrote: > Hi Jayesh- > > Sorry for the delayed response; I was on VAC for the past couple weeks. > > I would also suggest if you have critical questions involving both > *Spring* with Apache Geode o

Re: Help for spring data geode

2017-09-06 Thread John Blum
Hi Jayesh- Sorry for the delayed response; I was on VAC for the past couple weeks. I would also suggest if you have critical questions involving both *Spring* with Apache Geode or Pivotal GemFire, that *StackOverflow* [1] is a much better forum than Apache's antiquated mailing lists. I prefer to

Re: Health check URLs for cache server

2017-09-06 Thread John Blum
ient will not > be able to register CQlistener with server. > Understood, and makes sense. > > Thanks, > Dharam > > On Sep 6, 2017 9:56 PM, "Wayne Lund" wrote: > >> Love your answers John. That was very enlightening! >> >> *Wayne Lund* >> Ad

Re: Health check URLs for cache server

2017-09-06 Thread John Blum
Hi Dharam- In short, you cannot use *Gfsh's* `status server` command with a Geode Server that was *NOT* started with *Gfsh*, e.g. a Geode Server started/bootstrapped with *Spring Boot*. For instance, I have written an example [1] that demonstrates bootstrapping an Apache Geode, or a Pivotal GemFi

Re: Get part of the object

2017-08-30 Thread John Blum
Hi Nan- If you are using SD Geode and the *Repository* abstraction, 1 thing that will (eventually) help you is "projections". Typically, a *Repository* is tied to a single domain object, like so... class *LargeDomainObject* { @Id Long key; byte[] data; Collection otherLargeDomainObjec

Re: Concerns of CacheLoader

2017-08-26 Thread John Blum
OQL queries do not invoke CacheLoaders. On Sat, Aug 26, 2017 at 12:01 AM, Parin dazz wrote: > Hi Folks, > > I have some concerns about CacheLoader. > > I know that we attach it with the region definition in server which helps > to load missing entries into cache from database. > > But my reason

Re: Create a streaming result collector

2017-08-14 Thread John Blum
Hi Amit- *Spring Data Geode* does not offer any additional help for streaming Function results OOTB, particularly since, as Udo says... "*The one caveat here is that you have to deal with failure and possible duplicates when the function is marked as HA and it might retry/restart upon detection o

Re: [ANNOUNCE] Apache Geode 1.2.0

2017-07-17 Thread John Blum
/spring-data/ On Mon, Jul 17, 2017 at 10:02 AM, Amit Pandey wrote: > Congrats. > > John which version of Spring Data Geode will work with 1.2 geode? > > Regards > > On Mon, Jul 17, 2017 at 10:27 PM, John Blum wrote: > >> Congrats! >> >> On Mon, Jul

Re: [ANNOUNCE] Apache Geode 1.2.0

2017-07-17 Thread John Blum
Congrats! On Mon, Jul 17, 2017 at 9:01 AM, Anthony Baker wrote: > The Apache Geode community is pleased to announce the availability of > Apache Geode 1.2.0. > > Apache Geode is a data management platform that provides a > database-like consistency model, reliable transaction processing and a >

Re: refactor query command

2017-07-12 Thread John Blum
I would also say, if we add a feature like... gfsh> set APP_FETCH_SIZE=1000 That this only applies to my session, i.e. no other tooling is affected nor is the cluster affected globally. On Wed, Jul 12, 2017 at 11:14 AM, John Blum wrote: > Agreed! > > What I explained and mean

Re: refactor query command

2017-07-12 Thread John Blum
ery results output to /var/tempFolder/output.txt >>>> >>>> (And the output.txt content to be: >>>> Result >>>> >>>> value1 >>>> ... >>>> value500) >>>> >>>> >>>> Bear in mind t

Re: refactor query command

2017-07-11 Thread John Blum
I think it might be worth differentiating the result "LIMIT" (as used in the OQL query statement like so... "SELECT * FROM /Region WHERE ... LIMIT 1000") from what is actually "streamed" back to *Gfsh* as the default (e.g. 100). Clearly sending all the results back is quite expensive depending on

Re: How to stop geode server

2017-07-06 Thread John Blum
Anytime you use CTRL-C (in Mac OS X, or even Linux), that sends a `kill -INT` (i.e. `kill -2`), or SIGINT to the OS process. I was also thinking of the TERM switch (or -15) as well, and I initially thought CTRL-C was `kill -QUIT` (or `kill -3`). Anyway, as *Mike* stated (previously), do not use `

  1   2   >