table replica elasticsearch remove
Removes the mapping from a MapR-DB source binary table to an Elasticsearch type.
Updates from the table will no longer be replicated to the type. The type is not removed from the Elasticsearch cluster in which it is located.
Syntax
- CLI
-
maprcli table replica elasticsearch remove -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/remove?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 the type being replicated to is located. 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. |