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


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.

Reply via email to