Package org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos

Examples of org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.FenceRequestProto


  }
 
  @Override
  public FenceResponse fence(JournalInfo journalInfo, long epoch,
      String fencerInfo) throws IOException {
    FenceRequestProto req = FenceRequestProto.newBuilder().setEpoch(epoch)
        .setJournalInfo(PBHelper.convert(journalInfo)).build();
    try {
      FenceResponseProto resp = rpcProxy.fence(NULL_CONTROLLER, req);
      return new FenceResponse(resp.getPreviousEpoch(),
          resp.getLastTransactionId(), resp.getInSync());
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.protocol.proto.JournalProtocolProtos.FenceRequestProto

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.