[ http://issues.apache.org/jira/browse/HADOOP-780?page=all ]
Andrzej Bialecki updated HADOOP-780:
-------------------------------------
Attachment: configurable.patch
Ok :) I ran a search and found a few other places where it's reasonable to
replace Class.newInstance() with ReflectionUtils.newInstance(). Here's an
updated patch.
> ReduceTask.ValueIterator should apply job configuration to Configurable values
> ------------------------------------------------------------------------------
>
> Key: HADOOP-780
> URL: http://issues.apache.org/jira/browse/HADOOP-780
> Project: Hadoop
> Issue Type: Bug
> Components: mapred
> Affects Versions: 0.9.0, 0.10.0
> Environment: Nutch trunk/, trying to upgrade to Hadoop 0.9.0.
> Reporter: Andrzej Bialecki
> Assigned To: Andrzej Bialecki
> Fix For: 0.10.0, 0.9.0
>
> Attachments: configurable.patch
>
>
> ReduceTask.ValueIterator should apply job configuration to Configurable
> values. This is similar to the way it's done in ipc.Client.Connection.run().
> Some classes in Nutch (such as FetcherOutput and ParseData) rely on this
> behavior, and if it's not set an NPE is thrown.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira