This topic describes the cancel command in gfsh, the VMware Tanzu GemFire command-line interface.

cancel query

Use this command to cancel a currently executing query.

Availability: Online. In gfsh, you must be connected to a JMX Manager member to use this command.

Syntax:

cancel query --query-id=queryId

Name Description
‑‑query-id Required. ID of the query. To find a query ID, use the list queries command to display a list of executing queries and their IDs.

Table 1. Cancel Query Parameters

Example Command:

cancel query --queryId=faf13b3b-0da1-4b75-885f-2dc1a010f080

Sample Output:

gfsh> cancel query --queryId=faf13b3b-0da1-4b75-885f-2dc1a010f080
Query cancelled on members: server-3,server-2
check-circle-line exclamation-circle-line close-line
Scroll to top icon