GET TABLETS ON A PARTICULAR BE

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

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

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

  1. {
  2. msg: "OK",
  3. code: 0,
  4. data: {
  5. host: "10.38.157.107",
  6. tablets: [
  7. {
  8. tablet_id: 11119,
  9. schema_hash: 714349777
  10. },
  11. ...
  12. {
  13. tablet_id: 11063,
  14. schema_hash: 714349777
  15. }
  16. ]
  17. },
  18. count: 30
  19. }