nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <>
Subject [jira] [Updated] (NUTCH-1393) Display consistent usage of GeneratorJob with 1.X
Date Fri, 08 Mar 2013 19:38:13 GMT


Lewis John McGibbney updated NUTCH-1393:

    Attachment: NUTCH-1393-v3.patch

Hi Lufeng, I made a small change to remove the user prompt, this will not work well when automating
within a script.
I also made use of TimingUtil to display how long the job took (elapsed time).  
> Display consistent usage of GeneratorJob with 1.X
> -------------------------------------------------
>                 Key: NUTCH-1393
>                 URL:
>             Project: Nutch
>          Issue Type: Bug
>          Components: administration gui, generator
>    Affects Versions: nutchgora
>            Reporter: Lewis John McGibbney
>             Fix For: 2.2
>         Attachments: NUTCH-1393.patch, NUTCH-1393-v2.patch, NUTCH-1393-v3.patch
> If we pass the generate argument to the nutch script, the Generator auto-spings into
action and begins generating fetchlists. This should not be the case, instead it should print
traditional usage to stdout. An example is below
> {code}
> lewis@lewis:~/ASF/nutchgora/runtime/local$ ./bin/nutch generate
> GeneratorJob: Selecting best-scoring urls due for fetch.
> GeneratorJob: starting
> GeneratorJob: filtering: true
> GeneratorJob: done
> GeneratorJob: generated batch id: 1339628223-1694200031
> {code}
> All I wanted to do was get the usage params printed to stdout but instead it generated
my batch willy nilly.  

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message