Class HBaseHandler

java.lang.Object
io.datarouter.web.handler.BaseHandler
io.datarouter.client.hbase.web.HBaseHandler

public class HBaseHandler extends io.datarouter.web.handler.BaseHandler
  • Constructor Details

    • HBaseHandler

      public HBaseHandler()
  • Method Details

    • getClientType

      protected Class<? extends io.datarouter.storage.client.ClientType<?,?>> getClientType()
    • viewHBaseServers

      public io.datarouter.web.handler.mav.Mav viewHBaseServers() throws IOException
      Throws:
      IOException
    • viewHBaseTableSettings

      public io.datarouter.web.handler.mav.Mav viewHBaseTableSettings() throws org.apache.hadoop.hbase.TableNotFoundException, IOException
      Throws:
      org.apache.hadoop.hbase.TableNotFoundException
      IOException
    • viewHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav viewHBaseTableRegions(Optional<String> groupBy)
    • updateHBaseTableAttribute

      public io.datarouter.web.handler.mav.Mav updateHBaseTableAttribute(Optional<Long> maxFileSizeMb, Optional<Long> memstoreFlushSizeMb) throws IOException
      Throws:
      IOException
    • updateHBaseColumnAttribute

      public io.datarouter.web.handler.mav.Mav updateHBaseColumnAttribute(String columnName) throws org.apache.hadoop.hbase.TableNotFoundException, IOException
      Throws:
      org.apache.hadoop.hbase.TableNotFoundException
      IOException
    • moveRegionsToCorrectServer

      public io.datarouter.web.handler.mav.Mav moveRegionsToCorrectServer(Optional<Integer> pauseBetweenRegionsMs) throws IOException
      Throws:
      IOException
    • moveHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav moveHBaseTableRegions(String tableName, String destinationServerName) throws IOException
      Throws:
      IOException
    • compactHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav compactHBaseTableRegions() throws IOException
      Throws:
      IOException
    • compactAllHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav compactAllHBaseTableRegions() throws IOException
      Throws:
      IOException
    • majorCompactHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav majorCompactHBaseTableRegions() throws IOException
      Throws:
      IOException
    • majorCompactAllHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav majorCompactAllHBaseTableRegions() throws IOException
      Throws:
      IOException
    • flushHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav flushHBaseTableRegions() throws IOException
      Throws:
      IOException
    • flushAllHBaseTableRegions

      public io.datarouter.web.handler.mav.Mav flushAllHBaseTableRegions() throws IOException
      Throws:
      IOException
    • splitPartitions

      public io.datarouter.web.handler.mav.Mav splitPartitions() throws Exception
      Throws:
      Exception