setloglevel hbmaster
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 HPE Support for this parameter. |
loglevel |
The log level to set. Default: INFO
|
node |
The hostname or IP address of the node on which to set the log level. This is the node on which the hbmaster service is running. |
port |
The HBase Master webserver port. Default: 16000 (16010 for the WebUI) |
Examples
- CLI
-
maprcli setloglevel hbmaster -classname org.apache.hadoop.hbase.master -loglevel debug -node centos26.lab -port 16000
- REST
-
https://centos26.lab:8443/rest/setloglevel/hbmaster?classname=org.apache.hadoop.hbase.master&loglevel=debug&node=centos26.lab&port=16000