[
https://issues.apache.org/jira/browse/NUTCH-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047969#comment-15047969
]
ASF GitHub Bot commented on NUTCH-2180:
---------------------------------------
GitHub user harsham05 opened a pull request:
https://github.com/apache/nutch/pull/85
fix for NUTCH-2180 FileDumper skips Corrupt Segments
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/harsham05/nutch NUTCH-2180
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/85.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #85
----
commit 4afb276061d71e1352f9a3cd8955f1784b5c9410
Author: hm <[email protected]>
Date: 2015-12-09T03:11:11Z
fix for NUTCH-2180 contributed by hmanjuna
----
> FileDumper dumps data, but breaks midway on corrupt segments
> ------------------------------------------------------------
>
> Key: NUTCH-2180
> URL: https://issues.apache.org/jira/browse/NUTCH-2180
> Project: Nutch
> Issue Type: Bug
> Components: bin, dumpers
> Affects Versions: 1.11
> Environment: Ubuntu 14.04.3 x64
> Reporter: Harshavardhan Manjunatha
>
> 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)
> $
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)