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>...

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 MapR-DB source table.

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

target

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.

index

The name of the Elasticsearch index in which the type is located.

type

The name of the Elasticsearch type that updates to the MapR-DB source table are being replicated to.