Class ConnectionImplementation.MasterServiceStubMaker

java.lang.Object
org.apache.hadoop.hbase.client.ConnectionImplementation.MasterServiceStubMaker
Enclosing class:
ConnectionImplementation

Class to make a MasterServiceStubMaker stub.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    isMasterRunning(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface stub)
     
    (package private) org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface
    Create a stub against the master.
    private org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface
    Create a stub.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • isMasterRunning

      private void isMasterRunning(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface stub) throws IOException
      Throws:
      IOException
    • makeStubNoRetries

      private org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface makeStubNoRetries() throws IOException, org.apache.zookeeper.KeeperException
      Create a stub. Try once only. It is not typed because there is no common type to protobuf services nor their interfaces. Let the caller do appropriate casting.
      Returns:
      A stub for master services.
      Throws:
      IOException
      org.apache.zookeeper.KeeperException
    • makeStub

      org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.BlockingInterface makeStub() throws IOException
      Create a stub against the master. Retry if necessary.
      Returns:
      A stub to do intf against the master
      Throws:
      MasterNotRunningException - if master is not running
      IOException