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


Syntax

CLI

maprcli setloglevel hbmaster
    -classname <class>
    -loglevel DEBUG|ERROR|FATAL|INFO|TRACE|WARN
    -node <node>
    -port <port>

REST

http[s]://<host>:<port>/rest/setloglevel/hbmaster?<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 MapR Support for this parameter.

loglevel

The log level to set. Default: INFO

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

node

The node on which to set the log level.

port

The HBase Master webserver port. Default: 60000

Examples

CLI

maprcli setloglevel hbmaster
    -classname org.apache.hadoop.hbase.master
    -loglevel debug
    -node centos26.lab
    -port 60000

REST

https://centos26.lab:8443/rest/setloglevel/hbmaster?classname=org.apache.hadoop.hbase.master&loglevel=debug&node=centos26.lab&port=60000