table replica elasticsearch pause
Pauses replication to an Elasticsearch type from a MapR-DB source binary table.
Two reasons that you might want to pause replication are:
- You want to run
maprcli table replica elasticsearch remove
to remove the mapping from a source table to a type that is currently receiving replicated updates. - You want to compare the data in the type to the data in the source table by using
the
DiffTables
utility.
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>...
mapr
user is not treated as a superuser.
MapR-DB does not allow the mapr
user to run this command unless that user
is given the relevant permission or permissions with access-control expressions.Parameters
Parameter |
Description |
---|---|
|
The path to the MapR-DB source table.
|
|
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. |
|
The name of the Elasticsearch index in which the type is located. |
|
The name of the Elasticsearch type that updates to the MapR-DB source table are being replicated to. |