public class HdfsTaskLogs extends Object implements io.druid.tasklogs.TaskLogs
Constructor and Description |
---|
HdfsTaskLogs(HdfsTaskLogsConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
pushTaskLog(String taskId,
File logFile) |
com.google.common.base.Optional<com.google.common.io.InputSupplier<InputStream>> |
streamTaskLog(String taskId,
long offset) |
@Inject public HdfsTaskLogs(HdfsTaskLogsConfig config)
public void pushTaskLog(String taskId, File logFile) throws IOException
pushTaskLog
in interface io.druid.tasklogs.TaskLogPusher
IOException
public com.google.common.base.Optional<com.google.common.io.InputSupplier<InputStream>> streamTaskLog(String taskId, long offset) throws IOException
streamTaskLog
in interface io.druid.tasklogs.TaskLogStreamer
IOException
Copyright © 2015. All rights reserved.