You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2018/12/19 07:13:00 UTC
[jira] [Updated] (YARN-9149) yarn container -status misses logUrl
when integrated with ATSv2
[ https://issues.apache.org/jira/browse/YARN-9149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rohith Sharma K S updated YARN-9149:
------------------------------------
Description:
Post YARN-8303, yarn client can be integrated with ATSv2. But log url and start and end time is printing data is wrong!
{code}
Container Report :
Container-Id : container_1545035586969_0001_01_000001
Start-Time : 0
Finish-Time : 0
State : COMPLETE
Execution-Type : GUARANTEED
LOG-URL : null
Host : localhost:25006
NodeHttpAddress : localhost:25008
Diagnostics :
{code}
# TimelineEntityV2Converter#convertToContainerReport set logUrl as *null*. This need set for proper log url based on yarn.log.server.web-service.url
# TimelineEntityV2Converter#convertToContainerReport parses start/end time wrongly. Comparison should happen with entityType but below code is doing entityId
{code}
if (events != null) {
for (TimelineEvent event : events) {
if (event.getId().equals(
ContainerMetricsConstants.CREATED_IN_RM_EVENT_TYPE)) {
createdTime = event.getTimestamp();
} else if (event.getId().equals(
ContainerMetricsConstants.FINISHED_IN_RM_EVENT_TYPE)) {
finishedTime = event.getTimestamp();
}
}
}
{code}
was:
Post YARN-8303, yarn client can be integrated with ATSv2. But log url and start and end time is printing data is wrong!
{code}
Container Report :
Container-Id : container_1545035586969_0001_01_000001
Start-Time : 0
Finish-Time : 0
State : COMPLETE
Execution-Type : GUARANTEED
LOG-URL : null
Host : localhost:25006
NodeHttpAddress : localhost:25008
Diagnostics :
{code}
TimelineEntityV2Converter#convertToContainerReport set logUrl as *null*. This need set for proper log url based on yarn.log.server.web-service.url
> yarn container -status misses logUrl when integrated with ATSv2
> ---------------------------------------------------------------
>
> Key: YARN-9149
> URL: https://issues.apache.org/jira/browse/YARN-9149
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Rohith Sharma K S
> Priority: Major
>
> Post YARN-8303, yarn client can be integrated with ATSv2. But log url and start and end time is printing data is wrong!
> {code}
> Container Report :
> Container-Id : container_1545035586969_0001_01_000001
> Start-Time : 0
> Finish-Time : 0
> State : COMPLETE
> Execution-Type : GUARANTEED
> LOG-URL : null
> Host : localhost:25006
> NodeHttpAddress : localhost:25008
> Diagnostics :
> {code}
> # TimelineEntityV2Converter#convertToContainerReport set logUrl as *null*. This need set for proper log url based on yarn.log.server.web-service.url
> # TimelineEntityV2Converter#convertToContainerReport parses start/end time wrongly. Comparison should happen with entityType but below code is doing entityId
> {code}
> if (events != null) {
> for (TimelineEvent event : events) {
> if (event.getId().equals(
> ContainerMetricsConstants.CREATED_IN_RM_EVENT_TYPE)) {
> createdTime = event.getTimestamp();
> } else if (event.getId().equals(
> ContainerMetricsConstants.FINISHED_IN_RM_EVENT_TYPE)) {
> finishedTime = event.getTimestamp();
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org