[
https://issues.apache.org/jira/browse/YARN-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16742520#comment-16742520
]
Kuhu Shukla commented on YARN-6616:
-----------------------------------
I am currently reviewing this patch and the proposed change is a good one. My
one concern is the break of backward compatibility with the change to the
protos and more importantly the newInstance for ApplicationReport which at
least for us is used by upstream and peer projects. Can we add a new
constructor/newInstance with submit Time and replace the non-public usages of
that so that the submit time is available for the new or modified consumers but
keeps the option to use the old(buggy) way if the need be?
> YARN AHS shows submitTime for jobs same as startTime
> ----------------------------------------------------
>
> Key: YARN-6616
> URL: https://issues.apache.org/jira/browse/YARN-6616
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.7.3
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Minor
> Attachments: 0001-YARN-6616.patch
>
>
> YARN AHS returns startTime value for both submitTime and startTime for the
> jobs. Looks the code sets the submitTime with startTime value.
> https://github.com/apache/hadoop/blob/branch-2.7.3/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/dao/AppInfo.java#L80
> {code}
> curl --negotiate -u:
> http://prabhuzeppelin3.openstacklocal:8188/ws/v1/applicationhistory/apps
> <submittedTime>1495015537574</submittedTime><startedTime>1495015537574</startedTime><finishedTime>1495016384084</finishedTime>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]