hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-2102) ToolBase doesn't keep configuration
Date Fri, 26 Oct 2007 07:43:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537863

Enis Soztutar commented on HADOOP-2102:

Dennis, we can just change : 
public final int doMain(Configuration conf, String[] args) throws Exception {
  return ToolRunner.run(conf, this, args);

I will apply the patch, but I think its better if nutch give up using ToolBase in the first
place, since it will be removed soon. 

> ToolBase doesn't keep configuration
> -----------------------------------
>                 Key: HADOOP-2102
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2102
>             Project: Hadoop
>          Issue Type: Bug
>          Components: util
>         Environment: All
>            Reporter: Dennis Kubes
>            Assignee: Dennis Kubes
>             Fix For: 0.15.0, 0.16.0
>         Attachments: NUTCH-2102-1.patch
> ToolBase which has been superceded by ToolRunner doesn't pass in an existing configuration
object and therefore won't pick up initial configuration resources.  One consequence of this
is the nutch default and site.xml files are ignored.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message