Hi:

It works fine. Thanks again.

2006/9/28, Sami Siren <[EMAIL PROTECTED]>:

hello,

here's an adhoc addition to search server to support shutdown command.

client calls server like this:

"bin/nutch 'org.apache.nutch.searcher.DistributedSearch$Client'
-shutdown 127.0.0.1 9999"

--
  Sami Siren

Alvaro Cabrerizo wrote:
>
>
> 2006/9/27, Sami Siren <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
>
>     Alvaro Cabrerizo wrote:
>      > How could I stop an index server (started with "bin/nutch server
>     <port>
>      > <index>") knowing the port?
>      >
>      > Thanks in advance.
>      >
>
>     It does not support such a feature. Can you describe a little bit
more
>     what are you trying to accomplish something similar to tomcats
SHUTDOWN?
>
>
> Sure,
> That's right. If this feature doesn't exist, I'm looking for a clue to
> develop a SHUTDOWN and a RESTART command,  using NUTCH/HADOOP api. The
> idea is to have a group of JAVA classes that lets people execute a
> command like: "SERVER_RESTART <port>" or more advanced "SERVER_RESTART
> <port> <ip_address>".
>
> Anyway I can execute "ps aux | grep 44444" in a shell and find out
> proccess number in order to kill it or I can make a "^C" to stop it, but
> this is not the solution I'm looking for.
>
>
> Thanks, in advance.
>
>
>     --
>       Sami Siren
>
>




Reply via email to