Hadoop study notes - monitoring logging

Setting log levels

There are 2 ways we can use to set log level.
http://jobtracker-host:50030/logLevel
The same thing can be achieved from the command line as follows:
% hadoop daemonlog -setlevel jobtracker-host:50030 \
org.apache.hadoop.mapred.JobTracker DEBUG


Getting stack traces
http://jobtracker-host:50030/stacks

你可能感兴趣的:(logging)