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

Display consistent usage of GeneratorJob with 1.X

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • nutchgora
    • 2.2
    • 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-v3.patch
          3 kB
          Lewis John McGibbney
        2. NUTCH-1393-v2.patch
          2 kB
          lufeng
        3. NUTCH-1393.patch
          0.7 kB
          lufeng

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: