table replica elasticsearch list
Lists the Elasticsearch types and the associated replication statistics for a specified binary table.
By default, statistics are updated every five minutes.
Syntax
- CLI
-
maprcli table replica elasticsearch list -path table path [ -refreshnow refreshnow. default: false ]
- REST
-
http[s]://<host>:<port>/rest/table/replica/elasticsearch/list?path=<path>...
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 table that you want to list the Elasticsearch types for.
|
|
A Boolean value that specifies if you want to trigger an immediate update
of the replication statistics. The values are |
Output
Lists information about each Elasticsearch type for the specified table.
Output Data FieldsThe following fields are displayed for each Elasticsearch type:
Field |
Description |
---|---|
|
The cluster on which the source MapR-DB table resides. |
|
The name of the Elasticsearch cluster in which the type is located. This 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 the source MapR-DB table is being replicated to. |
|
A Boolean values that specifies if replication is paused. |
|
A Boolean value that specifies if replication is throttled. |
|
The internal index value. |
|
A Boolean value that specifies whether replication is encrypted from the source table to the MapR gateways. |
|
The type of on-wire compression. |
|
A Boolean value that specifies whether the Elasticsearch type is up-to-date. |
|
The epoch time in milliseconds of the oldest operation that has yet to be replicated to the Elasticsearch type. |
|
The epoch time in milliseconds of the newest operation that has yet to be replicated to the Elasticsearch type. |
|
The number of bytes that have yet to be replicated to the Elasticsearch type. |
|
The number of puts that have yet to be replicated to the Elasticsearch type. |
|
The number of buckets that have yet to be replicated to the Elasticsearch type. |
|
The table UUID. |
{
"timestamp":1432664030251,
"timeofday":"2015-05-26 11:13:50.251
GMT-0700",
"status":"OK",
"total":1,
"data":[
{
"cluster":"myMapRCluster",
"target":"myESCluster",
"index":"myIndex",
"type":"myType",
"paused":false,
"throttle":false,
"idx":1,
"networkencryption":false,
"networkcompression":"lz4",
"isUptodate":true,
"minPendingTS":0,
"maxPendingTS":0,
"bytesPending":0,
"putsPending":0,
"bucketsPending":0,
"uuid":"e093f065-0ee9-27fa-8cef-08a6b7645500"
}
]
}
Example
Lists Elasticsearch types that thecustA
table is being replicated
to:
CLI |
|
REST |
|