cluster gateway delete

Deletes the list of data-fabric gateways from a source data-fabric cluster.

Source data-fabric clusters can use such lists to locate the gateways that enable replication of table data to a particular data-fabric cluster or indexing of table data in a particular Elasticsearch cluster. You create lists of gateways by running the cluster gateway set command.

There are three methods of specifying the location of gateways to a data-fabric cluster that is a source for table replication or indexing in Elasticsearch. If a source data-fabric cluster relies on DNS records to find out where gateways are located, or the cluster relies on the mapr-clusters.conf file to locate gateways, there is no list for the cluster gateway delete command to delete.

Note: Deleting a list of gateways with the maprcli cluster gateway delete command does not uninstall the listed gateways from the data-fabric cluster where they are located.

Syntax

CLI
/opt/mapr/bin/maprcli cluster gateway delete
    [ -cluster <cluster on which command needs to be run> ]
     -dstcluster <cluster name>
REST
http[s]://<host>:<port>/rest/cluster/gateway/delete?dstcluster=<path>

Parameters

Parameter Description
cluster If you are not on the source cluster, provide the name of the source cluster on which this command should be run.
dstcluster

The name of the cluster on which the gateways are located.

If you are replicating table data to another data-fabric cluster, specify the name of that destination cluster. This destination cluster could be the source cluster if you are performing intra-cluster replication.

If you are indexing table data in an Elasticsearch cluster, specify the name of the source data-fabric cluster because that is where the gateways are located.

Example

Deletes a list of gateways that is stored on a source data-fabric cluster. The gateways are being used for table replication are located in the destination data-fabric cluster newyork.

CLI
/opt/mapr/bin/maprcli cluster gateway delete -dstcluster newyork
REST
https://<host>:<port>/rest/cluster/gateway/delete?dstcluster=newyork