org.apache.hadoop.hbase.master.handler
Class DispatchMergingRegionHandler

java.lang.Object
  extended by org.apache.hadoop.hbase.executor.EventHandler
      extended by org.apache.hadoop.hbase.master.handler.DispatchMergingRegionHandler
All Implemented Interfaces:
Comparable<Runnable>, Runnable

@InterfaceAudience.Private
public class DispatchMergingRegionHandler
extends EventHandler

Handles MERGE regions request on master: move the regions together(on the same regionserver) and send MERGE RPC to regionserver. NOTE:The real merge is executed on the regionserver


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.executor.EventHandler
EventHandler.EventHandlerListener
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
DispatchMergingRegionHandler(MasterServices services, CatalogJanitor catalogJanitor, HRegionInfo region_a, HRegionInfo region_b, boolean forcible)
           
 
Method Summary
 void process()
          This method is the main processing loop to be implemented by the various subclasses.
 
Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, prepare, run, setListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DispatchMergingRegionHandler

public DispatchMergingRegionHandler(MasterServices services,
                                    CatalogJanitor catalogJanitor,
                                    HRegionInfo region_a,
                                    HRegionInfo region_b,
                                    boolean forcible)
Method Detail

process

public void process()
             throws IOException
Description copied from class: EventHandler
This method is the main processing loop to be implemented by the various subclasses.

Specified by:
process in class EventHandler
Throws:
IOException


Copyright © 2015 The Apache Software Foundation. All rights reserved.