hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Charron (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-29) JobConf newInstance() method imposes a default constructor
Date Thu, 09 Feb 2006 13:31:58 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-29?page=all ]

Jerome Charron updated HADOOP-29:
---------------------------------

    Attachment: HADOOP-29.patch

The attached patch directly uses the constructor with Configuration parameter if the class
to instanciate extends Configurable.
(Tested with Nutch).

> JobConf newInstance() method imposes a default constructor
> ----------------------------------------------------------
>
>          Key: HADOOP-29
>          URL: http://issues.apache.org/jira/browse/HADOOP-29
>      Project: Hadoop
>         Type: Improvement
>   Components: mapred
>     Reporter: Jerome Charron
>     Priority: Minor
>  Attachments: HADOOP-29.patch
>
> The Nutch parse command fails, because the ParseSegment class has no default constructor.
> However, ParseSegment extends Configured, so it can be directly instanciated with a Configuration
parameter.

-- 
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


Mime
View raw message