You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Kendall Thrapp (JIRA)" <ji...@apache.org> on 2013/02/22 17:58:12 UTC

[jira] [Created] (YARN-415) Capture memory utilization at the app-level for chargeback

Kendall Thrapp created YARN-415:
-----------------------------------

             Summary: Capture memory utilization at the app-level for chargeback
                 Key: YARN-415
                 URL: https://issues.apache.org/jira/browse/YARN-415
             Project: Hadoop YARN
          Issue Type: New Feature
          Components: resourcemanager
    Affects Versions: 0.23.6
            Reporter: Kendall Thrapp


For the purpose of chargeback, I'd like to be able to compute the cost of an
application in terms of cluster resource usage.  To start out, I'd like to get the memory utilization of an application.  The unit should be MB-seconds or something similar and, from a chargeback perspective, the memory amount should be the memory reserved for the application, as even if the app didn't use all that memory, no one else was able to use it.

(reserved ram for container 1 * lifetime of container 1) + (reserved ram for
container 2 * lifetime of container 2) + ... + (reserved ram for container n * lifetime of container n)

It'd be nice to have this at the app level instead of the job level because:
1. We'd still be able to get memory usage for jobs that crashed (and wouldn't appear on the job history server).
2. We'd be able to get memory usage for future non-MR jobs (e.g. Storm).

This new metric should be available both through the RM UI and RM Web Services REST API.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira