Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-1393

Display consistent usage of GeneratorJob with 1.X

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: nutchgora
    • Fix Version/s: 2.2
    • Labels:
      None

      Description

      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

      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
      

      All I wanted to do was get the usage params printed to stdout but instead it generated my batch willy nilly.

        Attachments

        1. NUTCH-1393.patch
          0.7 kB
          lufeng
        2. NUTCH-1393-v2.patch
          2 kB
          lufeng
        3. NUTCH-1393-v3.patch
          3 kB
          Lewis John McGibbney

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: