table metadata list
Lists table metadata
REMEMBER
This command is meant to be used by support engineers to debug
issues.Syntax
- CLI
-
maprcli table metadata list [-terse]
- REST
-
curl -X GET \ 'http[s]://<host>:<port>/rest/table/metadata/list?terse' -u <username>:<password>
Parameters
Parameter | Description |
---|---|
terse | Displays only table paths. |
Example
List table metadata.
- CLI
-
maprcli table metadata list -terse -json
- REST
-
curl -X POST \ 'https://r1n1.sj.us:8443/rest/table/metadata/list?terse' \ -u <username>:<password>
Sample Output
maprcli table metadata list -json
{
"timestamp":1700050001936,
"timeofday":"2023-11-15 04:06:41.936 GMT-0800 AM",
"status":"OK",
"total":1,
"data":[
{
"path":"/nysales",
"numregions":1,
"totallogicalsize":0,
"totalphysicalsize":0,
"owner":"root"
}
]
}
maprcli table metadata list -terse -json
{
"timestamp":1700050025638,
"timeofday":"2023-11-15 04:07:05.638 GMT-0800 AM",
"status":"OK",
"total":1,
"data":[
{
"path":"/nysales"
}
]
}