table upstream remove
Un-registers a binary table as an upstream source for a replica.
NOTE: This step is separate
from the
table replica remove
command, which stops replication updates to a
replica. Syntax
- CLI
-
maprcli table upstream remove
-path table path
-upstream upstream table path
- REST
-
http[s]://<host>:<port>/rest/table/upstream/remove?path=<path>&upstream=<path>
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.Parameters
Parameter | Description |
---|---|
path |
The path to the replica.
|
upstream |
The path to the source table.
|
Example
Removes company1src
as the upstream source for replica
company1dst
:
- CLI
-
maprcli table upstream remove -path /volume2/company1dst -upstream /volume1/company1src
- REST
https://<host>:<port>/</rest/table/upstream/add?path=%2Fvolume2%2Fcompany1dst&upstream=%2Fvolume1%2Fcompany1src