[
https://issues.apache.org/jira/browse/NUTCH-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lewis John McGibbney resolved NUTCH-1731.
-----------------------------------------
Resolution: Fixed
Committed @revision 1587275 in 2.x HEAD
Thank you [~fjodor.vershinin] :)
I changed some trivial things for logging and for argument params. Tested patch
from different terminals and all working fine.
> Better cmd line parsing for NutchServer
> ---------------------------------------
>
> Key: NUTCH-1731
> URL: https://issues.apache.org/jira/browse/NUTCH-1731
> Project: Nutch
> Issue Type: Improvement
> Components: REST_api
> Affects Versions: 2.2
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 2.3
>
> Attachments: NUTCH-1731.patch, commandline.patch
>
>
> We can't currently stop a running server without killing the job via pid or
> something similar.
> A simple switch should be added to permit this.
> All is needs to do is call NutchServer#stop which will check to see if there
> are running tasks... if not then gracefully shut down the server instance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)