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 "Enis Soztutar (JIRA)" <ji...@apache.org> on 2007/10/26 09:43:51 UTC

[jira] Commented: (HADOOP-2102) ToolBase doesn't keep configuration

    [ 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 : 
{code}
public final int doMain(Configuration conf, String[] args) throws Exception {
  return ToolRunner.run(conf, this, args);
}
{code}

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.