MapR 5.0 Documentation : setloglevel tasktracker

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


Syntax

CLI

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

REST

http[s]://<host>:<port>/rest/setloglevel/tasktracker?<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 TaskTracker port. Default: 50060

Examples

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

CLI

maprcli setloglevel tasktracker -loglevel TRACE -classname org.apache.hadoop.mapred.TaskTracker -node 10.10.82.23

REST

https://r1n1.sj.us:8443/rest/setloglevel/tasktracker?loglevel=TRACE&classname=org.apache.hadoop.mapred.TaskTracker&node=10.10.82.23