[
https://issues.apache.org/jira/browse/MAPREDUCE-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J Chouraria updated MAPREDUCE-2170:
-----------------------------------------
Attachment: mapreduce.loadaverage.r3.diff
Attaching patch here as requested by Arun.
Patch also addresses Scott Chen's query. The Linux plugin does not do any
/proc/loadavg reading anymore.
P.s. Is it safe to also rely on
{{OperatingSystemMXBean.getAvailableProcessors()}} for retrieving the number of
CPUs via {{ResourceCalculatorPlugin.getNumProcessors()}}? If it is, I could add
this on also.
> Send out last-minute load averages in TaskTrackerStatus
> -------------------------------------------------------
>
> Key: MAPREDUCE-2170
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2170
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: jobtracker
> Affects Versions: 0.22.0
> Environment: GNU/Linux
> Reporter: Harsh J Chouraria
> Assignee: Harsh J Chouraria
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: mapreduce.loadaverage.r3.diff
>
> Original Estimate: 0.33h
> Remaining Estimate: 0.33h
>
> Load averages could be useful in scheduling. This patch looks to extend the
> existing Linux resource plugin (via /proc/loadavg file) to allow transmitting
> load averages of the last one minute via the TaskTrackerStatus.
> Patch is up for review, with test cases added, at:
> https://reviews.apache.org/r/20/
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.