Skip to main content
Skip to main content

GET TABLETS ON A PARTICULAR BE

GET TABLETS ON A PARTICULAR BE

Get the tablet id and schema hash for a certain number of tablets on a particular BE node

curl -X GET http://be_host:webserver_port/tablets_page?limit=XXXXX

The return is the tablet id and schema hash for a certain number of tablets on the BE node. The data is returned as a rendered Web page. The number of returned tablets is determined by the parameter limit. If parameter limit does not exist, none tablet will be returned. if the value of parameter limit is "all", all the tablets on the BE node will be returned. if the value of parameter limit is non-numeric type other than "all", none tablet will be returned.

curl -X GET http://be_host:webserver_port/tablets_json?limit=XXXXX

The return is the tablet id and schema hash for a certain number of tablets on the BE node. The returned data is organized as a Json object. The number of returned tablets is determined by the parameter limit. If parameter limit does not exist, none tablet will be returned. if the value of parameter limit is "all", all the tablets on the BE node will be returned. if the value of parameter limit is non-numeric type other than "all", none tablet will be returned.

{
msg: "OK",
code: 0,
data: {
host: "10.38.157.107",
tablets: [
{
tablet_id: 11119,
schema_hash: 714349777
},

...

{
tablet_id: 11063,
schema_hash: 714349777
}
]
},
count: 30
}