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
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.datarouter.web.handler.BaseHandler

    io.datarouter.web.handler.BaseHandler.Handler, io.datarouter.web.handler.BaseHandler.NullHandlerDecoder
  • Field Summary

    Fields inherited from class io.datarouter.web.handler.BaseHandler

    HANDLER_CLASS, HANDLER_ENCODER_ATTRIBUTE, HANDLER_METHOD, params, paramValidators, request, REQUEST_DURATION_STRING, REQUEST_RECEIVED_AT, response, servletContext, SUBMIT_ACTION, TRACE_URL_REQUEST_ATTRIBUTE
  • Constructor Summary

    Constructors 
    Constructor Description
    HBaseHandler()  
  • Method Summary

    Modifier and Type Method Description
    io.datarouter.web.handler.mav.Mav compactAllHBaseTableRegions()  
    io.datarouter.web.handler.mav.Mav compactHBaseTableRegions()  
    io.datarouter.web.handler.mav.Mav flushAllHBaseTableRegions()  
    io.datarouter.web.handler.mav.Mav flushHBaseTableRegions()  
    protected java.lang.Class<? extends io.datarouter.storage.client.ClientType<?,​?>> getClientType()  
    io.datarouter.web.handler.mav.Mav majorCompactAllHBaseTableRegions()  
    io.datarouter.web.handler.mav.Mav majorCompactHBaseTableRegions()  
    io.datarouter.web.handler.mav.Mav moveHBaseTableRegions​(java.lang.String tableName, java.lang.String destinationServerName)  
    io.datarouter.web.handler.mav.Mav moveRegionsToCorrectServer​(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs)  
    io.datarouter.web.handler.mav.Mav splitPartitions()  
    io.datarouter.web.handler.mav.Mav updateHBaseColumnAttribute​(java.lang.String columnName)  
    io.datarouter.web.handler.mav.Mav updateHBaseTableAttribute​(io.datarouter.web.handler.types.optional.OptionalLong maxFileSizeMb, io.datarouter.web.handler.types.optional.OptionalLong memstoreFlushSizeMb)  
    io.datarouter.web.handler.mav.Mav viewHBaseServers()  
    io.datarouter.web.handler.mav.Mav viewHBaseTableRegions​(io.datarouter.web.handler.types.optional.OptionalString groupBy)  
    io.datarouter.web.handler.mav.Mav viewHBaseTableSettings()  

    Methods inherited from class io.datarouter.web.handler.BaseHandler

    getDefaultMultipartCharset, getLastPathSegment, getParamValidator, getParamValidator, getRequest, getSessionInfo, handleMissingParameters, handleWrapper, invokeHandlerMethod, postProcess, setApiKeyPredicateName, setDefaultHandlerDecoder, setDefaultHandlerEncoder, setParams, setRequest, setResponse, setServletContext

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getClientType

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

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

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

      public io.datarouter.web.handler.mav.Mav viewHBaseTableRegions​(io.datarouter.web.handler.types.optional.OptionalString groupBy)
    • updateHBaseTableAttribute

      public io.datarouter.web.handler.mav.Mav updateHBaseTableAttribute​(io.datarouter.web.handler.types.optional.OptionalLong maxFileSizeMb, io.datarouter.web.handler.types.optional.OptionalLong memstoreFlushSizeMb) throws java.io.IOException
      Throws:
      java.io.IOException
    • updateHBaseColumnAttribute

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

      public io.datarouter.web.handler.mav.Mav moveRegionsToCorrectServer​(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs) throws java.io.IOException
      Throws:
      java.io.IOException
    • moveHBaseTableRegions

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

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

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

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

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

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

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

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