MapR 5.0 Documentation : setloglevel jobtracker

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


Syntax

CLI

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

REST

http[s]://<host>:<port>/rest/setloglevel/jobtracker?<parameters> 

Parameters



Parameter

Description

classname

The name of the class for which to set the log level. 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 JobTracker webserver port. Default: 9001

Examples

The following example only works forĀ  the JobTracker class. If a different class package is needed, it must be specified.

CLI

maprcli setloglevel jobtracker
    -classname org.apache.hadoop.mapred.JobTracker
    -loglevel debug
    -node centos26.lab
    -port 9001

REST

https://centos26.lab:8443/rest/setloglevel/jobtracker?classname=org.apache.hadoop.mapred.JobTracker&loglevel=debug&node=centos26.lab&port=9001