You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2007/02/06 00:00:05 UTC
[jira] Created: (HADOOP-981) Attribute to mark Mappers and Reducers
as side-effect free
Attribute to mark Mappers and Reducers as side-effect free
----------------------------------------------------------
Key: HADOOP-981
URL: https://issues.apache.org/jira/browse/HADOOP-981
Project: Hadoop
Issue Type: Improvement
Components: mapred
Affects Versions: 0.11.0
Reporter: Owen O'Malley
Fix For: 0.12.0
There should be an annotation to mark Mapper and Reducer classes as side-effect free. This annotation could then be used to disable speculative execution for such classes. Furthermore, defining a class without the NoSideEffect attribute as a combiner would be a run-time error.
@NoSideEffects
class MyMapper extends MapReduceBase implements Mapper { ... }
would declare that MyMapper may be run speculatively.
@NoSideEffects
class MyReducer extends MapReduceBase implements Reducer { ...}
declares that MyReducer can be run speculative and as a combiner.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.