table replica removeDe-registers the specified HPE Ezmeral Data Fabric Database binary or JSON table as a replica.
To run this command, your user ID must have the following permissions:
readAce and writeAce on both the source volume and the target
volumelookupdir on directories in the paths of both
tablesreplperm permissions on the source tablemapr user is not treated as a superuser.
HPE Ezmeral Data Fabric Database does not allow the mapr user to
run this command unless that user is given the relevant permission or permissions with
access-control expressions.After running this command, the specified table or index is no longer a replica of the source table and will no longer receive updates from the source table.
In
addition, run the table upstream remove command to remove the
association between the source table and the replica table.
/opt/mapr/bin/maprcli table replica remove
-path <table path>
-replica <replica table path>
curl -k -X POST
'http[s]://<host>:<port>/rest/table/replica/remove?path=<path>&replica=<path>'
-u <username>:<password>
mapr user is not treated as a superuser.
HPE Ezmeral Data Fabric Database does not allow the mapr user to
run this command unless that user is given the relevant permission or permissions with
access-control expressions.| Parameter | Description |
|---|---|
| path |
The path to the source table that is being replicated.
|
| replica |
The path to the replica.
|
De-registers table custAdst as a replica of table
custAsrc:
/opt/mapr/bin/maprcli table replica remove -path /volume1/custAsrc -replica /volume2/custAdst
curl -k -X POST \
'https://r1n1.sj.us:8443/rest/table/replica/remove?path=%2Fvolume1%2FcustAsrc&replica=%2Fvolume2%2FcustAdst' \
-u mapr:mapr