[
https://issues.apache.org/jira/browse/MAPREDUCE-1367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Douglas updated MAPREDUCE-1367:
-------------------------------------
Status: Open (was: Patch Available)
As a first pass:
* {{map_tasks}} is volatile, but increment/decrement is not atomic. Consider
{{AtomicInteger}} instead
* {{getMapExecutor}} should be named {{createMapExecutor}} ; adding tasks to
the ExecutorService belongs at the caller. The logging should probably be at
DEBUG instead of INFO
* {{storedException}} should probably be Throwable instead of Exception
* if {{LOCAL_MAX_MAPS}} is < 1, that should be an error
Otherwise, this looks pretty good.
> LocalJobRunner should support parallel mapper execution
> -------------------------------------------------------
>
> Key: MAPREDUCE-1367
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1367
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Reporter: Aaron Kimball
> Assignee: Aaron Kimball
> Attachments: MAPREDUCE-1367.2.patch, MAPREDUCE-1367.3.patch,
> MAPREDUCE-1367.patch
>
>
> The LocalJobRunner currently supports only a single execution thread. Given
> the prevalence of multi-core CPUs, it makes sense to allow users to run
> multiple tasks in parallel for improved performance on small (local-only)
> jobs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.