[
https://issues.apache.org/jira/browse/MAPREDUCE-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753416#action_12753416
]
Amareshwari Sriramadasu commented on MAPREDUCE-954:
---------------------------------------------------
For MAPREDUCE-372, we would like to override the functionality of RecordReader,
RecordWriter and the configuration of the context. Problem with current Context
objects is that Mapper.Context or Reducer.Context is an inner class which is
not static. To construct the customized Context object(with the customized
RR,RW, conf), we would be forced to expose some implementation details from
the framework created context implementations.
bq. {Job|TaskAttempt|TaskInputOutput|Map|Reduce}ContextImpl - private
-1. If *ContextImpl is private, overriding some functionaly is not possible. I
think *ContextImpl classes should be public evolving.
> The new interface's Context objects should be interfaces
> --------------------------------------------------------
>
> Key: MAPREDUCE-954
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-954
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: client
> Reporter: Owen O'Malley
> Assignee: Arun C Murthy
> Fix For: 0.21.0
>
> Attachments: MAPREDUCE-954.patch
>
>
> When I was doing HADOOP-1230, I was persuaded to make the Context objects as
> classes. I think that was a serious mistake. It caused a lot of information
> leakage into the public classes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.