private void setFields(Configuration conf) throws IOException { taskLogsTruncater = new TaskLogsTruncater(conf); userLogCleaner = new UserLogCleaner(this, conf); monitorLogEvents.setDaemon(true); }
/** * Get {@link UserLogCleaner}. * * This method is called only from unit tests. * * @return {@link UserLogCleaner} */ public UserLogCleaner getUserLogCleaner() { return userLogCleaner; }