public class ContainerLogsInfo extends Object
ContainerLogsInfo includes the log meta-data of containers.
The container log meta-data includes details such as:
ContainerLogFileInfo.| Modifier and Type | Field and Description |
|---|---|
protected String |
containerId |
protected List<org.apache.hadoop.yarn.logaggregation.ContainerLogFileInfo> |
containerLogsInfo |
protected String |
logType |
protected String |
nodeId |
| Constructor and Description |
|---|
ContainerLogsInfo() |
ContainerLogsInfo(org.apache.hadoop.yarn.logaggregation.ContainerLogMeta logMeta,
org.apache.hadoop.yarn.logaggregation.ContainerLogAggregationType logType) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContainerId() |
List<org.apache.hadoop.yarn.logaggregation.ContainerLogFileInfo> |
getContainerLogsInfo() |
String |
getLogType() |
String |
getNodeId() |
protected List<org.apache.hadoop.yarn.logaggregation.ContainerLogFileInfo> containerLogsInfo
protected String logType
protected String containerId
protected String nodeId
public ContainerLogsInfo()
public ContainerLogsInfo(org.apache.hadoop.yarn.logaggregation.ContainerLogMeta logMeta,
org.apache.hadoop.yarn.logaggregation.ContainerLogAggregationType logType)
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.