You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "faruk berksöz (JIRA)" <ji...@apache.org> on 2010/09/08 18:00:37 UTC

[jira] Updated: (NUTCH-904) "-resume" option is always processed as "false" in FetcherJob.

     [ https://issues.apache.org/jira/browse/NUTCH-904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

faruk berksöz updated NUTCH-904:
--------------------------------

    Attachment: NUTCH-904.patch

patch

> "-resume" option is always processed  as "false" in FetcherJob.
> ---------------------------------------------------------------
>
>                 Key: NUTCH-904
>                 URL: https://issues.apache.org/jira/browse/NUTCH-904
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 2.0
>         Environment: Nutch 2.0
>            Reporter: faruk berksöz
>             Fix For: 2.0
>
>         Attachments: NUTCH-904.patch
>
>
> job.continue has not beeen set anywhere.
> "job.continue" should be RESUME_KEY which is set before for this purpose.
> \\
> \\
> {code:title=FetcherJob.java|borderStyle=solid}
>    ...
>    FetcherMapper
>    ....
>       protected void setup(Context context) {
>          Configuration conf = context.getConfiguration();
>          shouldContinue = conf.getBoolean("job.continue", false);       
>          crawlId = new Utf8(conf.get(GeneratorJob.CRAWL_ID, Nutch.ALL_CRAWL_ID_STR));
>       }
> 	...
>  {code} 

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