table replica resume

Resumes replication between a source MapR-DB binary or JSON table and a replica of that table when the replication state is set to paused by the maprcli table replica add or the maprcli table replica pause command.

Permissions Required

To run this command, your user ID must have the following permissions:
  • readAce and writeAce on both the source volume and the target volume
  • lookupdir on directories in the paths of both tables
  • replperm permissions on the source table
NOTE: The 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.
CLI
maprcli table replica resume
   -path <table path>
   -replica <replica table path>  
REST
http[s]://<host>:<port>/rest/table/replica/resume?path=<path>&replica=<path>
Parameter Description
path

The path to the table that will be replicated.

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

The path to the replica.

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

maprcli table replica resume -path /volume1/custAsrc -replica /volume2/custAdst

REST

https://<host>:<port>/rest/table/replica/resume?path=%2Fvolume1%2FcustAsrc&replica=%2Fvolume2%2FcustAdst