List of usage examples for org.apache.hadoop.mapreduce MRJobConfig TASK_USERLOG_LIMIT
String TASK_USERLOG_LIMIT
To view the source code for org.apache.hadoop.mapreduce MRJobConfig TASK_USERLOG_LIMIT.
Click Source Link
From source file:it.crs4.pydoop.mapreduce.pipes.TaskLog.java
License:Apache License
/** * Get the desired maximum length of task's logs. * @param conf the job to look in// w ww . ja v a2 s.c om * @return the number of bytes to cap the log files at */ public static long getTaskLogLength(Configuration conf) { return conf.getLong(MRJobConfig.TASK_USERLOG_LIMIT, 0) * 1024; }