Class WrappedLogMetaRequest
java.lang.Object
org.apache.hadoop.yarn.server.webapp.WrappedLogMetaRequest
WrappedLogMetaRequest is wrapping a log request initiated by the client.
This wrapper class translates the request to a
ContainerLogsRequest
and calls #readAggregatedLogsMeta on the
LogAggregationFileController.
class.-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
builder
-
getAppId
-
getAppAttemptId
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
getContainerLogMetas
public List<org.apache.hadoop.yarn.logaggregation.ContainerLogMeta> getContainerLogMetas() throws IOExceptionConstructs aContainerLogsRequestobject, and obtainsContainerLogsRequestfrom the correspondingLogAggregationFileController.- Returns:
- list of
ContainerLogMetaobjects that belong to the application, attempt or container - Throws:
IOException- if there are I/O errors.
-