You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Diaa (JIRA)" <ji...@apache.org> on 2014/04/25 13:46:16 UTC

[jira] [Commented] (NUTCH-1764) readdb arguments check bug

    [ https://issues.apache.org/jira/browse/NUTCH-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980908#comment-13980908 ] 

Diaa commented on NUTCH-1764:
-----------------------------

Attached is a patch to fix the issue

> readdb arguments check bug
> --------------------------
>
>                 Key: NUTCH-1764
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1764
>             Project: Nutch
>          Issue Type: Bug
>          Components: crawldb
>    Affects Versions: 1.8, 1.9
>            Reporter: Diaa
>            Priority: Minor
>             Fix For: 1.8, 1.9
>
>         Attachments: CrawlDbReader.java.patch
>
>
> If you run the command readdb with just one argument nothing happens and no usage warning is issued.
> Example: bin/nutch readdb crawldb
> Actual Result: Nothing happens
> Expected Result: "Usage CrawlDbReader ... "
> The issue is due to "if (args.length < 1) " which should be 2



--
This message was sent by Atlassian JIRA
(v6.2#6252)