Package org.apache.hadoop.hbase.rest.model

Examples of org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel


  @Test
  public void testGetClusterStatusPB() throws IOException {
    Response response = client.get("/status/cluster",
      Constants.MIMETYPE_PROTOBUF);
    assertEquals(response.getCode(), 200);
    StorageClusterStatusModel model = new StorageClusterStatusModel();
    model.getObjectFromMessage(response.getBody());
    validate(model);
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.