You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/01/12 18:32:34 UTC
[jira] [Updated] (NUTCH-1914) Improve error messages of segment
dumper tool
[ https://issues.apache.org/jira/browse/NUTCH-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Palsulich updated NUTCH-1914:
-----------------------------------
Attachment: NUTCH-1914.palsulich.1-12-15.diff
Patch with two small fixes:
* If there is an error parsing the command line, the exception message is printed to standard error.
* Remove the unnecessary {{@SuppressWarnings("static-access")}} annotations.
With this patch, if you enter an invalid command:
{code}
➜ ./nutch dump -invalid
Unrecognized option: -invalid
{code}
> Improve error messages of segment dumper tool
> ---------------------------------------------
>
> Key: NUTCH-1914
> URL: https://issues.apache.org/jira/browse/NUTCH-1914
> Project: Nutch
> Issue Type: Bug
> Reporter: Tyler Palsulich
> Priority: Minor
> Attachments: NUTCH-1914.palsulich.1-12-15.diff
>
>
> The segment dumper from NUTCH-1526 is useful. But, if you enter an invalid option (e.g. {{./nutch dump -invalid}}), nothing is printed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)