Example usage for org.apache.hadoop.mapred JobConf DEFAULT_LOG_LEVEL

List of usage examples for org.apache.hadoop.mapred JobConf DEFAULT_LOG_LEVEL

Introduction

In this page you can find the example usage for org.apache.hadoop.mapred JobConf DEFAULT_LOG_LEVEL.

Prototype

String DEFAULT_LOG_LEVEL

To view the source code for org.apache.hadoop.mapred JobConf DEFAULT_LOG_LEVEL.

Click Source Link

Document

Default logging level for map/reduce tasks.

Usage

From source file:org.apache.tez.mapreduce.hadoop.MRHelpers.java

License:Apache License

private static String getChildLogLevel(Configuration conf, boolean isMap) {
    if (isMap) {/* w w w.  ja  va 2  s.c  o m*/
        return conf.get(MRJobConfig.MAP_LOG_LEVEL, JobConf.DEFAULT_LOG_LEVEL.toString());
    } else {
        return conf.get(MRJobConfig.REDUCE_LOG_LEVEL, JobConf.DEFAULT_LOG_LEVEL.toString());
    }
}