setloglevel hbregionserver

Sets the log level on the HBase RegionServer service. Permissions required: fc or a.

Syntax

CAUTION
This command must be run under the supervision of HPE support.
CLI
maprcli setloglevel hbregionserver
    -classname <class>
    -loglevel DEBUG|ERROR|FATAL|INFO|TRACE|WARN
    -node <node>
    -port <port>
REST
http[s]://<host>:<port>/rest/setloglevel/hbregionserver?<parameters> 

Parameters

Parameter

Description

classname

The name of the class for which to set the log level. The class can be specified at the package level or for a specific class. Contact HPE Support for this parameter.

loglevel

The log level to set. Default: INFO

  • DEBUG
  • ERROR
  • FATAL
  • INFO
  • TRACE
  • WARN

node

The hostname or IP address of the node on which to set the log level. This is the node on which the hbregionserver service is running.

port

The HBase Region Server webserver port. Default: 16020 (16030 for the WebUI)

Examples

CLI
maprcli setloglevel hbregionserver -classname org.apache.hadoop.hbase.regionserver -loglevel debug -node centos26.lab  -port 16020
REST
https://centos26.lab:8443/rest/setloglevel/hbregionserver?classname=org.apache.hadoop.hbase.regionserver&loglevel=debug&node=centos26.lab&port=16020