nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NUTCH-1731) Better cmd line parsing for NutchServer
Date Wed, 05 Mar 2014 14:19:42 GMT

     [ https://issues.apache.org/jira/browse/NUTCH-1731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lewis John McGibbney updated NUTCH-1731:
----------------------------------------

    Attachment: NUTCH-1731.patch

New patch. Seems we have a problem when accessing the Nutch server statically through NutchApp
like so

NutchApp.server.canStop()

It throws NPE. I'll try and fix this later on.
Starting the server now enables configuration of port and logging level.

> 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
>
>
> 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)

Mime
View raw message