gfsh is the command line utility of Apache Geode / Gemfire.
Questions tagged [gfsh]
16 questions
1
vote
1 answer
How can I retrive an element value from array in gfsh
I have the following data in gfsh DB:
gfsh>query --query="select * from /siteinfo"
Result : true
Limit : 100
Rows :…

walkaround2002
- 5
- 2
1
vote
1 answer
Can you increase replication on an existing Apache Geode region?
The documentation shows that it is easy to create a new region with redundancy.
However, the alter region command doesn't show any way to modify the redundancy on a region you're already using. Is this possible?

jocull
- 20,008
- 22
- 105
- 149
1
vote
1 answer
Servers successfully started from gfsh but not connected to the locator
I started a geode locator using gfsh and then started four servers using gfsh again but when I use the list members command, I only get the locator and not the servers.
gfsh>start locator --name=locate --port=10334
Starting a Geode Locator in…

Milin Patel
- 43
- 6
1
vote
1 answer
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 members contain more than 100 characters then the…

Navdeep Singh
- 13
- 5
1
vote
1 answer
Unable to connect to Locator via GFSH
I have started a GemFire Server and Locator via Spring Boot and when I try to connect to the Locator from GFSH, I getting the following issue:
gfsh> connect
Connecting to Locator at [host=localhost, port=10334] ..
Connection refused: connect
Below,…

Arunprasad
- 567
- 4
- 14
- 29
1
vote
1 answer
gemfire start locator takes too long
I've installed gemfire in my Ubuntu 17.10, using the java version "1.8.0_161", and I'm trying to start a locator using gfsh.
start locator --name=locator1
After that it shows me the following message:
Starting a Geode Locator in…

John Godoi
- 21
- 1
- 4
0
votes
0 answers
How to resolve corrupted index for region in GEMFIRE
Unable to query region (select * from /xxx), getting the following error message:
**Query could not be executed due to - orgapachegeodeSerializationException - Could not create an Instance of com.xxx
**
However if I query via GFSH, I am able to…

Ann Chen
- 1
- 1
0
votes
1 answer
gfsh command is not accepting password with special character '!' from gfsh console
Not able to connect to auth enabled gemfire cluster using gfsh console when we have password with special character. Using the below command for login into gemfire cluster
gfsh -e "connect --locator=localhost[13120] --user=$(getProperty…

SUMIT
- 540
- 1
- 4
- 19
0
votes
2 answers
I want to put PDX like data into a region with GFSH
In GFSH I want to run a put command to create a key and value with set of PDX like values... For example:
put --key=('test1') --value=('Client':'XYZ', 'MsgType':'R', 'OrdType':'C', 'SecurityType':'FOR', 'Symbol':'EUR/USD', 'QuoteReqId':'test1',…

rupweb
- 3,052
- 1
- 30
- 57
0
votes
2 answers
Upgrade Lucene from 6.6.2 to 8.2.0 in Apache Geode 1.9.0
I need to upgrade lucene core dependencies from version 6.6.2 to 8.2.0 in Apache Geode version 1.9.0. Simply removing old lucene core dependencies and adding lucene 8.2.0 dependency gives me the following error while loading data in Geode with…

ajay vasudevan
- 69
- 8
0
votes
1 answer
No lucene documents created when serializer added
I created lucene index in gfsh using the following command create lucene index --name=myLucIndex --region=myRegion --field=title
--analyzer=org.apache.lucene.analysis.en.EnglishAnalyzer --serializer=a.b.c.MyLatLongSerializer
My serializer is as…

ajay vasudevan
- 69
- 8
0
votes
1 answer
Pivotal Gemfire gfsh Locator could not find a JMX Manager
The geode locator and server are started by the embedded spring data geode running within a spring boot application
Trying to connect with gfsh:
gfsh>connect
Connecting to Locator at [host=localhost, port=10334] ..
Locator could not find a JMX…

ACV
- 9,964
- 5
- 76
- 81
0
votes
2 answers
Gemfire throws 502 Gateway error on starting a locator
I had Apache Geode cluster running and I was connected to it using gfsh client. In order to test something, I stopped the Cache Server using, "stop server --name=xxxxserver" command. The Cache server stopped successfully.
Further, I stopped the…

Mohammed Ismail
- 11
- 2
0
votes
1 answer
Locator starts on incorrect hostname
I am running docker image apachegeode/geode:1.9.0 on AWS ec2 instance with Ubuntu 18 AMI. While running gfsh command to start the locator , I see the hostname as garbled.
How do I set the correct hostname while starting locator so that I can access…

ajay vasudevan
- 69
- 8
0
votes
1 answer
gfsh create command region-time-to-live not working as expected
When I create a region using the following command and use describe afterwards, it doesn't show me region-time-to-live settings at all. Only when I use alter I can see the entry-time-to-live and region-time-to-live to be set properly.
gfsh>create…

Divs
- 1,578
- 2
- 24
- 51