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

Zero results problems difficult to troubleshoot due to lack of logging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0, 1.1
    • 1.1
    • web gui
    • None
    • Linux, x86, nutch searcher and nutch webaps. v1.0, v1.1

    Description

      There are a few places where search can fail in a distributed environment, but when configuration is not quite right, there are no indications of errors or logging.
      Increased logging of failures would help troubleshoot such problems, as well as lower the "I get 0 results, why?" questions that come across the mailing lists.

      Areas where logging would be helpful:
      search app cannot locate search-servers.txt
      search app cannot find searcher node listed in search-server.txt
      search app cannot connect to port on searcher specified in search-server.txt
      searcher (bin/nutch server...) cannot find index
      searcher cannot find segments
      Access denied in any of the above scenarios.

      There are probably more that would be helpful, but I am not yet familiar to know all the points of possible failure between the webpage and a search node.

      Attachments

        1. logging.patch
          2 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            jhires Jesse Hires
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: