Package io.datarouter.client.hbase.web
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, io.datarouter.web.handler.BaseHandler.NullHandlerEncoder -
Field Summary
Fields inherited from class io.datarouter.web.handler.BaseHandler
accountName, HANDLER_CLASS, HANDLER_ENCODER_ATTRIBUTE, HANDLER_METHOD, params, paramValidators, request, REQUEST_DURATION_STRING, REQUEST_RECEIVED_AT, response, servletContext, SUBMIT_ACTION, TRACE_CONTEXT, TRACE_URL_REQUEST_ATTRIBUTE -
Constructor Summary
Constructors Constructor Description HBaseHandler() -
Method Summary
Modifier and Type Method Description io.datarouter.web.handler.mav.MavcompactAllHBaseTableRegions()io.datarouter.web.handler.mav.MavcompactHBaseTableRegions()io.datarouter.web.handler.mav.MavflushAllHBaseTableRegions()io.datarouter.web.handler.mav.MavflushHBaseTableRegions()protected Class<? extends io.datarouter.storage.client.ClientType<?,?>>getClientType()io.datarouter.web.handler.mav.MavmajorCompactAllHBaseTableRegions()io.datarouter.web.handler.mav.MavmajorCompactHBaseTableRegions()io.datarouter.web.handler.mav.MavmoveHBaseTableRegions(String tableName, String destinationServerName)io.datarouter.web.handler.mav.MavmoveRegionsToCorrectServer(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs)io.datarouter.web.handler.mav.MavsplitPartitions()io.datarouter.web.handler.mav.MavupdateHBaseColumnAttribute(String columnName)io.datarouter.web.handler.mav.MavupdateHBaseTableAttribute(io.datarouter.web.handler.types.optional.OptionalLong maxFileSizeMb, io.datarouter.web.handler.types.optional.OptionalLong memstoreFlushSizeMb)io.datarouter.web.handler.mav.MavviewHBaseServers()io.datarouter.web.handler.mav.MavviewHBaseTableRegions(io.datarouter.web.handler.types.optional.OptionalString groupBy)io.datarouter.web.handler.mav.MavviewHBaseTableSettings()Methods inherited from class io.datarouter.web.handler.BaseHandler
getDefaultMultipartCharset, getLastPathSegment, getParamValidator, getParamValidator, getRequest, getSessionInfo, getUserZoneId, handleMissingParameters, handleWrapper, invokeHandlerMethod, postProcess, setAccountName, setDefaultHandlerDecoder, setDefaultHandlerEncoder, setParams, setRequest, setResponse, setServletContext
-
Constructor Details
-
HBaseHandler
public HBaseHandler()
-
-
Method Details
-
getClientType
-
viewHBaseServers
- Throws:
IOException
-
viewHBaseTableSettings
public io.datarouter.web.handler.mav.Mav viewHBaseTableSettings() throws org.apache.hadoop.hbase.TableNotFoundException, IOException- Throws:
org.apache.hadoop.hbase.TableNotFoundExceptionIOException
-
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 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.TableNotFoundExceptionIOException
-
moveRegionsToCorrectServer
public io.datarouter.web.handler.mav.Mav moveRegionsToCorrectServer(io.datarouter.web.handler.types.optional.OptionalInteger pauseBetweenRegionsMs) throws IOException- Throws:
IOException
-
moveHBaseTableRegions
public io.datarouter.web.handler.mav.Mav moveHBaseTableRegions(String tableName, String destinationServerName) throws IOException- Throws:
IOException
-
compactHBaseTableRegions
- Throws:
IOException
-
compactAllHBaseTableRegions
- Throws:
IOException
-
majorCompactHBaseTableRegions
- Throws:
IOException
-
majorCompactAllHBaseTableRegions
- Throws:
IOException
-
flushHBaseTableRegions
- Throws:
IOException
-
flushAllHBaseTableRegions
- Throws:
IOException
-
splitPartitions
- Throws:
Exception
-