Questions tagged [gemfire]

Pivotal GemFire is a distributed in-memory database developed in Java that provides real-time data management for applications, consistent transactional storage across nodes, and resilient clustering.

0
votes
1answer
12 views

How to export data into cdv from GemFire

I am trying to build a ETL process that extracts data out to GemFire and load in Teradata. However, I am not finding a good mechanism to export data out. The only thing I have found so far is rest api ...
0
votes
1answer
21 views

Can I have two @ClientCacheApplication in the same Spring Boot Application?

Can I have two @ClientCacheApplication instances in the same Spring Boot application? I have two classes: PeopleDataAccess and JobDataAccess. Both of them are a @ClientCacheApplication. @Service @...
1
vote
1answer
32 views

Geode transaction to generate ID and insert object

Let's say I have 3 PARTITIONED_REDUNDANT regions: /Orders - keys are Longs (an ID allocated from /Sequences) and values are instances of Order /OrderLineItems - keys are Longs (an ID allocated from /...
0
votes
1answer
21 views

How to Access OQL Query on a Gemfire 9.6 Region in java

I am using Gemfire pivotal for the first time and I need someone who can help me with below question. The Gemfire Pivotal 9.6 is installed on Unix server and I am able to connect to Unix with no issue....
2
votes
2answers
73 views

Pivotal gemfire Index creation taking too much time

We are using Pivotal Gemfire as a cache for our data. Recently we migrated from gemfire 8.2.1 to 9.5.1 with exactly same regions, data and indexes. But the indexes creation on particularly one region ...
0
votes
2answers
28 views

How to remove the key and value from the disk store in geode?

While using Apache Geode/Gemfire implementation, my requirement is to not only have the IMDG functionality but also I want to commit the values to disk-stores. In case, all of my Geode server go down, ...
0
votes
1answer
27 views

Transferring single entry between gemfire WAN cluster

I have two gemfire (version 8.2) clusters (sender and receiver) connected through WAN. Sender cluster gets data from DB and transmits entries to Receiver through WAN gateway until both clusters are ...
0
votes
0answers
46 views

GemFire Queries gradually slow down after running for few hours

We are in performance testing of our Spring Boot based application which uses Spring Data GemFire to connect with Pivotal GemFire. During these tests what we have observed is OQL queries are slowing ...
0
votes
0answers
28 views

Why is lastModifiedTime in DistributedRegionMXBean is not updated if data is deleted from a region?

When I add an entry to a region or when a server is created, my region statistics(Eg. lastModifiedTime) gets updated. But when I delete an entry, my region's lastModifiedTime doesn't change. Is this ...
0
votes
1answer
34 views

How to use NVL to get data from GemFire when query result is null

I am using Spring Data GemFire in a project and I am using a Repository to fetch query results from a cache as mentioned here: https://docs.spring.io/spring-gemfire/docs/1.3.3.RELEASE/reference/html/...
0
votes
1answer
31 views

Transferring data through clusters using gemfire

I have searched solutions for my usecase but did not get right one, so expecting some nice ideas to explore further. I have two gemfire (version 8.2) clusters (private and public) each stores 110+ GB ...
0
votes
1answer
71 views

JMX connection to Gemfire over SSL

I have used GFSH to start locator like below start locator --name=gemfire_locator --security-properties-file="../config/gfsecurity.properties" --J=-Dgemfire.ssl-enabled-components=all --mcast-port=0 -...
0
votes
1answer
48 views

GemFire object serialization using Java Serialization

We are using Spring Session management with GemFire for Session handling. Currently we are upgraded the GemFire version to the 2.1.2 release. We have used Delta Serialization for Session object. We ...
0
votes
0answers
61 views

GemFire Session sharing issue

We are using Spring Session management with GemFire for Session handling. We are doing it for container deployment where one complete transaction will be processed by multiple containers. But when we ...
0
votes
1answer
38 views

Is there a way to retrieve all index created on server regions using Java?

I created regions with indexes using gfsh. I am trying to get those list of indexes based on region and server. I used mbean "CacheServerMXBean" to get list of indexes based on server. But I don't get ...
0
votes
1answer
21 views

Is it safe to use JMX to extract metadata from Gemfire?

I have a requirement to extract metadata(Member and Region attributes) from Pivotal Gemfire. Is it safe to connect to JMX Manager node to extract the metadata using mBeans? Is there an alternative to ...
1
vote
1answer
60 views

Using embedded gemfire locator and server for integration testing

I have a application that uses gemfire locator and servers. I would like to write an integration test that could help me start a locator & a server within the JVM and also shut them down when ...
1
vote
1answer
43 views

Line trimed to .. in gfsh command

I am running the below command in Unix box, it is gfsh command: $GEMFIRE_HOME/bin/gfsh -e "connect --locator=$HOST[22710]" -e "list members" | grep "coordinator" but, the catch is, if the returned ...
0
votes
2answers
37 views

How to get Pivotal Cloud Cache idle timeout to reset on access

We are trying to set up cache expiration in Pivotal Cloud Cache, using Gemfire. We have set up our region in PCF: Cluster-0 gfsh>describe region --name=/CartTest Type | Name ...
1
vote
1answer
69 views

calculate the hour from the System.nanoTime() in java

On gemfire, I am having one region ABC and within this region there is a column/field of type long. In this field I am setting the value as System.nanoTime(). I want to fetch all the record from this ...
0
votes
0answers
28 views

CustomEntryTimeToLive Gemfire 8.2.11 entry does not expire

Good afternoon friends. I need help with gemfire version 8.2.11. My Class config import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; ...
0
votes
1answer
85 views

Dynamic GemFire Region Creation with PCC

I am using Pivotal GemFire 9.1.1 through Pivotal Cloud Cache 1.3.1 and ran into the following error while using the @EnableClusterConfiguration SDG annotation: 2018-11-17T16:30:35.279-05:00 [APP/PROC/...
0
votes
0answers
29 views

RegionAttributes gemfire 8.2.5

Good morning friends, How can I instantiate a RegionAttributes in gemfire 8.2.5 ? This is deprecated in gemfire 8.2.5 import com.gemstone.gemfire.cache.AttributesFactory; import com.gemstone....
0
votes
0answers
19 views

Bind parameter is not of the expected type

http://xx.xx.xxx.xxx:9090/gemfire-api/v1/queries/adhoc?q=select * from (select * from orders t1,order_details t2 where t1.orderid = t2.orderid) t5,(select * from products t3,order_details t4 where t3....
0
votes
1answer
21 views

Apache Tomee session Management with gemFire Integration

I am trying to do session management using tomcat modules in gemFire. Reference link we used is [https://gemfire.docs.pivotal.io/95/geode/tools_modules/http_session_mgmt/tomcat_installing_the_module....
1
vote
1answer
369 views

Failed to invoke @ExceptionHandler method: public java.lang.String Gemfire

I am trying to get data from a region of 15000 records, I am able to get 1000 records by sending GET request to http://xx.xx.xxx.xxx:9090/gemfire-api/v1/orders?limit=1000 But when i send GET ...
1
vote
1answer
36 views

Prevent entry of GemFire cache being accessed by more than one request

I have an application using Springboot, Gemfire and MySQL. The Springboot application serves as a rest api. I want to "lock" the cache entry so that only one request sent to rest api can access ...
0
votes
0answers
25 views

Spring Boot/Gemfire: Caching collections separately

Currently, we have this large object that is easily represented by a String key. The ask is that we are able to access (get) and modify (put) the individual pieces separately. That can be done by hand ...
0
votes
0answers
41 views

Distributed lock in Gemfire - Auto Release the lock when client goes down

We are using Gemfire in a Client Server configuration mode. I am looking to implement a Distributed lock. Based on the previous suggestions in other Les Vesti posts, we went for Server side ...
0
votes
1answer
38 views

PCC - Put Data Into a Region

While using PCC, (geode/gemfire), can we insert data into regions? Do we have any other application to browse PCC data other than pulse dashboard? Is there an OQL to put data into the regions?
0
votes
2answers
109 views

Spring Session - asynchronous call handling

Does Spring Session management take care of asynchronous calls? Say that we have multiple controllers and each one is reading/writing different session attributes. Will there be a concurrency issue ...
0
votes
2answers
66 views

Invalid Http Response for Gemfire?

enter image description here public class GemfireTest extends SecurityManager { public static void main(String[] args) throws NameResolutionException, TypeMismatchException, ...
0
votes
1answer
56 views

Session attributes missing intermittently - Spring Session + Pivotal GemFire Implementation

Facing a strange issue for sometime in Spring Session with Pivotal GemFire integration. We have multiple HTTP requests, which eventually does set/get of session attributes in a varying order based on ...
0
votes
1answer
52 views

How to get Gemfire data into Resultset and iterate in java?

String queryString ="SELECT * FROM /items"; ClientCache cache = new ClientCacheFactory().create(); QueryService queryService = cache.getQueryService(); Query query = queryService.newQuery(queryString)...
0
votes
1answer
50 views

Not able to retrieve saved objects from GemFire backed session

I was using the GemFire session store to save and retrieve objects. session.getAttribute(sessionKey) and session.setAttribute(sessionKey, value) But, sometimes after saving, when I am trying to ...
0
votes
2answers
55 views

How to see session attributes in GemFire Pulse/Gfsh when using Spring Session for Pivotal GemFire?

We are able to save/retrieve data to/from GemFire through Spring Session management. session.getAttribute(sessionKey) // session is from gemfire. In GemFire Pulse, we are able to see the ...
0
votes
1answer
45 views

How to import data from database or file to Gemfire?

I am looking for an approach to import data from mssql to gemfire, Is it possible either from java program or Command line?
0
votes
2answers
111 views

Container's session object and not GemFire's session object is invoked inside Servlet Filter

From a custom Servlet Filter when trying to access a GemFire session object, it is taking the Container's session object instead. The session object is of the type: org.apache.catalina.session....
0
votes
0answers
158 views

org.apache.shiro.authc.AuthenticationException: Authentication failed for token submission

Can someone look at this and provide your inputs what could be the issue? Authentication failed for token submission [org.apache.geode.internal.security.shiro.GeodeAuthenticationToken - null, ...
0
votes
1answer
67 views

Querying GemFire Region by partial key

When the key is a composite of id1, id2 in a GemFire Region and the Region is partitioned with id1, what is the best way of getting all the rows whose key matched id1. Couple of options that we are ...
0
votes
1answer
29 views

Update the value in region ONLY IF value.status is 'XXX'

We are trying to use Gemfire in our work. We have a region where we store each request coming in and it goes through its lifecycle (For example, states are A --> B --> C --> D) But we also have a ...
0
votes
1answer
53 views

Deploy a Spring Boot JAR in a GemFire server

I have implemented GemFire server-side event handler (CacheLoader) using Spring Boot as I will have to call multiple external services to load data. When i tried to deploy the JAR (Spring Boot FAT ...
0
votes
1answer
64 views

Setting @EnableGemFireHttpSession regionName dynamically

Is there any way to provide GemFire regionName dynamically during runtime. Currently we are hardCoding the regionName "testRegion". Sample Code is below. Appreciate any help @Configuration @...
0
votes
1answer
86 views

Spring Session for Pivotal GemFire Multi-Session

We are trying for a solution of non-sticky session for a retailer across servers. Servers used are WebLogic 12.2.1.3 and TomcatEE 7.0.5. We are able to see sessions persisting across servers. ...
1
vote
2answers
258 views

Is it possible to start a PIvotal GemFire Server, Locator and Client in one JVM?

I want to start a Pivotal GemFire Server, Locator and client in a single JVM with Spring Boot. The server and Locator start OK (I used "start-locator" in server gemfire.properties). However, when I ...
1
vote
2answers
77 views

How to define persistence on Local Pivotal GemFire Region?

I have local Region and I want to persist the Region data to disk. How to define it using DataPolicy?
1
vote
1answer
73 views

Make PUT call to external website using Rest Template

I'm currently trying to make a PUT call to my Gemfire Cache test enviroment https://gemfire.docs.pivotal.io/95/geode/rest_apps/put_update_data.html I've tried following a template like so ...
0
votes
1answer
30 views

Can we convert fields to/from GemFire PdxSerializer using annotations or Java Reflection?

Currently we are using GemFire for caching. We are in our initial phase of integrating it. While we are working on integrating GemFire using the Spring Data GemFire libraries, and using GemFire's ...
0
votes
1answer
41 views

How to perform an equi-join on Geode with non-key column

Now I have 3 regions like below: region1 ID, phone_number, name region2 ID, credit_bill_number region3 phone_number, phone_bill_number I know that I can join region1 and region2 by co-...
0
votes
1answer
33 views

Apache Geode GFSH list all subscriptions to a cache

Like the list durable-cqs command is it possible to list all subscriptions by key to a Geode region?

http://mssss.yulina-kosm.ru