Package org.apache.hadoop.hbase.protobuf.generated.ClientProtos

Examples of org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse


    private void replayToServer(HRegionInfo regionInfo, List<Action<Row>> actions)
        throws IOException, ServiceException {
      AdminService.BlockingInterface remoteSvr = conn.getAdmin(getLocation().getServerName());
      MultiRequest request = RequestConverter.buildMultiRequest(regionInfo.getRegionName(),
        actions);
      MultiResponse protoResults = remoteSvr.replay(null, request);
      // check if it's a partial success
      List<ActionResult> resultList = protoResults.getResultList();
      for (int i = 0, n = resultList.size(); i < n; i++) {
        ActionResult result = resultList.get(i);
        if (result.hasException()) {
          Throwable t = ProtobufUtil.toException(result.getException());
          if (!skipErrors) {
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponse

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.