public class S3TaskLogs extends Object implements io.druid.tasklogs.TaskLogs
| Constructor and Description |
|---|
S3TaskLogs(S3TaskLogsConfig config,
org.jets3t.service.impl.rest.httpclient.RestS3Service service) |
| Modifier and Type | Method and Description |
|---|---|
void |
pushTaskLog(String taskid,
File logFile) |
com.google.common.base.Optional<com.google.common.io.ByteSource> |
streamTaskLog(String taskid,
long offset) |
@Inject public S3TaskLogs(S3TaskLogsConfig config, org.jets3t.service.impl.rest.httpclient.RestS3Service service)
public com.google.common.base.Optional<com.google.common.io.ByteSource> streamTaskLog(String taskid, long offset) throws IOException
streamTaskLog in interface io.druid.tasklogs.TaskLogStreamerIOExceptionpublic void pushTaskLog(String taskid, File logFile) throws IOException
pushTaskLog in interface io.druid.tasklogs.TaskLogPusherIOExceptionCopyright © 2015. All rights reserved.