table replica pause
Pauses the replication of data from a source MapR-DB binary or JSON table to a replica MapR-DB binary or JSON table during autosetup and replication phases.
Permissions Required
To run this command, your user ID must have the following permissions:
readAce
andwriteAce
on both the source volume and the target volumelookupdir
on directories in the paths of both tablesreplperm
permissions on the source table
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.Syntax
- CLI
-
maprcli table replica pause -path <table path> -replica <replica table path>
- REST
-
curl -k -X POST 'http[s]://<host>:<port>/rest/table/replica/pause?path=<path>&replica=<path>' -u <username>:<password>
Parameters
Parameter | Description |
---|---|
path |
The path to the source table.
|
replica |
The path to the replica that will receive updates from the source.
|
Example
Sets the replication state to paused:
- CLI
-
maprcli table replica pause -path /volume1/custAsrc -replica /volume2/custAdst
- REST
-
curl -k -X POST \ 'https://r1n1.sj.us:8443/rest/table/replica/pause?path=%2Fvolume1%2FcustAsrc&replica=%2Fvolume2%2FcustAdst' \ -u mapr:mapr