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

FileDumper dumps data, but breaks midway on corrupt segments

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.12
    • Component/s: bin, dumpers
    • Labels:
      None
    • Environment:

      Ubuntu 14.04.3 x64

    • Flags:
      Patch, Important

      Description

      FileDumper should ignore corrupt segments, and continue dumping data instead of throwing NullPointerException

      $ bin/nutch dump -segment ../../../segments/ -outputDir ./firstDump/ -flatdir
      java.lang.NullPointerException
      at org.apache.nutch.tools.FileDumper.dump(FileDumper.java:175)
      at org.apache.nutch.tools.FileDumper.main(FileDumper.java:417)
      $

        Attachments

          Activity

            People

            • Assignee:
              mjoyce Michael Joyce
              Reporter:
              hmanjuna Harshavardhan Manjunatha
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: