nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fjodor Vershinin (JIRA)" <>
Subject [jira] [Commented] (NUTCH-1731) Better cmd line parsing for NutchServer
Date Wed, 09 Apr 2014 18:28:15 GMT


Fjodor Vershinin commented on NUTCH-1731:

I made some investigations about this issue. 
So, main problem is NutchServer runs every time in other JVM, so, NutchApp.server reference
can't work. We should connect to running NutchServer by using restful API.
I am working on patch now, which removes mandatory keys from NutchServer command, because
it makes application startup much easier. There should be default port and default logging
level, which can be overrided with command line properties.

> Better cmd line parsing for NutchServer
> ---------------------------------------
>                 Key: NUTCH-1731
>                 URL:
>             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
> We can't currently stop a running server without killing the job via pid or something
> 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

View raw message