Class MockMasterServices

java.lang.Object
org.apache.hadoop.hbase.master.MockNoopMasterServices
org.apache.hadoop.hbase.master.assignment.MockMasterServices
All Implemented Interfaces:
org.apache.hadoop.hbase.Abortable, org.apache.hadoop.hbase.master.MasterServices, org.apache.hadoop.hbase.Server, org.apache.hadoop.hbase.Stoppable

A mocked master services. Tries to fake it. May not always work.
  • Field Details

    • fileSystemManager

      private final org.apache.hadoop.hbase.master.MasterFileSystem fileSystemManager
    • walManager

      private final org.apache.hadoop.hbase.master.MasterWalManager walManager
    • splitWALManager

      private final org.apache.hadoop.hbase.master.SplitWALManager splitWALManager
    • assignmentManager

      private final org.apache.hadoop.hbase.master.assignment.AssignmentManager assignmentManager
    • tableStateManager

      private final org.apache.hadoop.hbase.master.TableStateManager tableStateManager
    • masterRegion

      private final org.apache.hadoop.hbase.master.region.MasterRegion masterRegion
    • procedureEnv

      private org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv procedureEnv
    • procedureExecutor

      private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> procedureExecutor
    • procedureStore

      private org.apache.hadoop.hbase.procedure2.store.ProcedureStore procedureStore
    • connection

      private final org.apache.hadoop.hbase.client.Connection connection
    • balancer

      private final org.apache.hadoop.hbase.master.LoadBalancer balancer
    • serverManager

      private final org.apache.hadoop.hbase.master.ServerManager serverManager
    • rpm

      private final org.apache.hadoop.hbase.master.replication.ReplicationPeerManager rpm
    • initialized

      private final org.apache.hadoop.hbase.procedure2.ProcedureEvent<?> initialized
    • DEFAULT_COLUMN_FAMILY_NAME

      public static final String DEFAULT_COLUMN_FAMILY_NAME
      See Also:
    • MOCK_MASTER_SERVERNAME

      public static final org.apache.hadoop.hbase.ServerName MOCK_MASTER_SERVERNAME
  • Constructor Details

    • MockMasterServices

      public MockMasterServices(org.apache.hadoop.conf.Configuration conf) throws IOException, org.apache.hadoop.hbase.replication.ReplicationException
      Throws:
      IOException
      org.apache.hadoop.hbase.replication.ReplicationException
  • Method Details