[
https://issues.apache.org/jira/browse/NUTCH-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tyler Palsulich updated NUTCH-1912:
-----------------------------------
Attachment: NUTCH-1912.palsulich.1-13-15.patch
Patch with the following fixes:
* If the arg mimetypes is not given, accept/dump all types.
* If the segment dir argument is invalid, print an error message.
* Remove two unused variables.
* Improve the description of the mimetype arg.
* If there is an exception, print the stack trace to console.
These are all very small changes. I'm happy to split them into multiple
issues/patches, if desired.
> Dump tool -mimetype parameter needs to be optional to prevent NPE
> -----------------------------------------------------------------
>
> Key: NUTCH-1912
> URL: https://issues.apache.org/jira/browse/NUTCH-1912
> Project: Nutch
> Issue Type: Bug
> Components: tool
> Affects Versions: 1.10
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Fix For: 1.10
>
> Attachments: NUTCH-1912.palsulich.1-13-15.patch
>
>
> There is a bug in NUTCH-1869 which, although the new feature works correctly,
> can result in a NPE if the new flag is not provided. This is hellish.
> We can possibly add an 'all' option which would dump everything.
> The purpose of NUTCH-1869 was so that you can have fine grained control over
> what content you wish to dump.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)