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

readdb to show command-line help if no action (-stats, -dump, etc.) given

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.9
    • Component/s: crawldb
    • Labels:
      None

      Description

      If you run the command readdb with just one argument nothing happens and no usage warning is issued.
      Example: bin/nutch readdb crawldb
      Actual Result: Nothing happens
      Expected Result: "Usage CrawlDbReader ... "

      The issue is due to "if (args.length < 1) " which should be 2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              diaa_abdallah Diaa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: