Pauses replication to an Elasticsearch type from a MapR-DB source table.

Two reasons that you might want to pause replication are:

To resume replication to a type, run the maprcli table replica elasticsearch resume command.

Syntax

CLI

maprcli table replica elasticsearch pause
-path source table path
-target Elasticsearch cluster name
-index Elasticsearch index name
-type Elasticsearch type name

REST

http[s]://<host>:<port>/rest/table/replica/elasticsearch/pause?path=<path>&target=<Name of Elasticsearch cluster>&index=<Name of index>&type=<Name of type>...

Parameters

Parameter

Description

path

The path to the MapR-DB source table.

  • For a path on the local cluster, start the path at the volume mount point. For example, for a table named test under a volume with a mount point at /volume1, specify the following path: /volume1/test
  • For a path on a remote cluster, you must also specify the cluster name in the path. For example, for a table named customer under volume1 in the sanfrancisco cluster, specify the following path: /mapr/sanfrancisco/volume1/customer

target

The name of the Elasticsearch cluster in which to create the new type. This name is the name specified for the cluster when it was registered with the current MapR cluster.

index

The name of the Elasticsearch index in which the type is located.

type

The name of the Elasticsearch type that updates to the MapR-DB source table are being replicated to.