Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.0
-
None
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- Blocked
-
YARN-7271 Add a yarn application cost calculation framework in TimelineService v2
- Open
- breaks
-
YARN-2542 "yarn application -status <appId>" throws NPE when retrieving the app from the timelineserver
- Closed
- depends upon
-
YARN-1335 Move duplicate code from FSSchedulerApp and FiCaSchedulerApp into SchedulerApplication
- Closed
- duplicates
-
YARN-1899 Capacity Scheduler Usage History
- Resolved