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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2016/01/13 02:11:39 UTC
[jira] [Updated] (YARN-4526) Make SystemClock singleton so
AppSchedulingInfo could use it
[ https://issues.apache.org/jira/browse/YARN-4526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated YARN-4526:
-----------------------------------
Attachment: yarn-4526-2.patch
Uploading the same patch again to kick Jenkins.
> Make SystemClock singleton so AppSchedulingInfo could use it
> ------------------------------------------------------------
>
> Key: YARN-4526
> URL: https://issues.apache.org/jira/browse/YARN-4526
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: scheduler
> Affects Versions: 2.8.0
> Reporter: Karthik Kambatla
> Assignee: Karthik Kambatla
> Attachments: yarn-4526-1.patch, yarn-4526-2.patch, yarn-4526-2.patch
>
>
> To track the time a request is received, we need to get current system time. For better testability of this, we are likely better off using a Clock instance that uses SystemClock by default. Instead of creating umpteen instances of SystemClock, we should just reuse the same instance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)