[ http://issues.apache.org/jira/browse/NUTCH-38?page=comments#action_62302 
]
     
Doug Cutting commented on NUTCH-38:
-----------------------------------

This will make a great improvement!

A few comments:

 - Your setStop() method should instead override ipc.Client.stop(), and call 
super.stop().  IPC clients should already call stop(), and that same call 
should kill the watchdog thread too.

 - Instead of iterating through all values of a Vector to convert it to an 
array, use the toArray method.

 - Your field and variable names do not use java's usual conventions, for 
example, stat_servers should be named statServers.

Thanks!

> distributed search improvement
> ------------------------------
>
>          Key: NUTCH-38
>          URL: http://issues.apache.org/jira/browse/NUTCH-38
>      Project: Nutch
>         Type: Improvement
>   Components: searcher, web gui
>     Reporter: Sami Siren
>     Assignee: Sami Siren
>     Priority: Minor
>  Attachments: fault_tolerance.patch
>
> Running nutch web application with separate search servers can be pain to 
> manage. Search servers go down, new segments are added, old ones removes and 
> so on, almost all of these actions require some work to be done also at web 
> app level (restart usually helps).
> This simple enhancement tries to makes it just a little bit easier adding 
> following features:
> -new segments can be added to searchservers without restarting the frontend.
> -defective search servers are not queried until tey come back online
> -watchdog keeps an eye for your searchservers and writes a simple log abt 
> statistics

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to