public class WrappedLogMetaRequest extends Object
ContainerLogsRequest
and calls #readAggregatedLogsMeta on the
LogAggregationFileController
.
class.Modifier and Type | Class and Description |
---|---|
static class |
WrappedLogMetaRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static WrappedLogMetaRequest.Builder |
builder() |
String |
getAppAttemptId() |
String |
getAppId() |
org.apache.hadoop.yarn.api.records.ContainerId |
getContainerId() |
List<org.apache.hadoop.yarn.logaggregation.ContainerLogMeta> |
getContainerLogMetas()
Constructs a
ContainerLogsRequest object, and obtains
ContainerLogsRequest from the corresponding
LogAggregationFileController . |
public static WrappedLogMetaRequest.Builder builder()
public String getAppId()
public String getAppAttemptId()
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId()
public List<org.apache.hadoop.yarn.logaggregation.ContainerLogMeta> getContainerLogMetas() throws IOException
ContainerLogsRequest
object, and obtains
ContainerLogsRequest
from the corresponding
LogAggregationFileController
.ContainerLogMeta
objects that belong
to the application, attempt or containerIOException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.