table upstream list
Lists the binary tables that replicate data to the specified replica binary table.
Syntax
- CLI
-
maprcli table upstream list -path <table path>
- REST
-
curl -X GET 'http[s]://<server>:<port>/rest/table/upstream/list?path=<path>' -u <username>:<password>
NOTE
The 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.Parameters
Parameter | Description |
---|---|
path |
The path to the replica.
|
Sample Output
maprcli table upstream list -path /volume2/company1 -json
{
"timestamp":1423162601288,
"timeofday":"2015-02-05 10:56:41.288 GMT-0800",
"status":"OK",
"total":1,
"data":[
{
"cluster":"mycluster",
"table":"/volume1/company1",
"idx":1,
"uuid":"P?\\x18\\xCC\\x17\\xB1&\\xA7i,\\x04\\xBB\\xB8\\xD3T\\x00"
}
]
}
Example
Lists sources that replicate data to the replica /volume2/company1
:
- CLI
-
maprcli table upstream list -path /volume2/company1 -json
- REST
curl -X GET \ 'https://r1n1.sj.us:8443/rest/table/upstream/list?path=%2Fvolume2%2Fcompany1' \ -u <username>:<password>